Add option to search username
Benjamin Renard

Benjamin Renard commited on 2016-01-20 09:32:27
Showing 1 changed files, with 4 additions and 1 deletions.

... ...
@@ -9,7 +9,7 @@ do
9 9
 	while true
10 10
 	do
11 11
 		echo $SUBJECT
12
-		echo -n "$ID : (c = cat mail / d = delete mail / K = keap mail / q = quit ) ? "
12
+		echo -n "$ID : (c = cat mail / d = delete mail / u = search username used to send this mail / K = keap mail / q = quit ) ? "
13 13
 		read a
14 14
 		case $a in
15 15
 			c)
... ...
@@ -19,6 +19,9 @@ do
19 19
 				postsuper -d $ID
20 20
 				break
21 21
 			;;
22
+			u)
23
+				mailid_to_username $ID
24
+			;;
22 25
 			k|"")
23 26
 				break
24 27
 			;;
25 28