+

Add option to search username

Benjamin Renard [2016-01-20 09:32:27]
Add option to search username
Filename
scripts/inspect_mail_from_sender
diff --git a/scripts/inspect_mail_from_sender b/scripts/inspect_mail_from_sender
index 44adeaf..463f922 100755
--- a/scripts/inspect_mail_from_sender
+++ b/scripts/inspect_mail_from_sender
@@ -9,7 +9,7 @@ do
 	while true
 	do
 		echo $SUBJECT
-		echo -n "$ID : (c = cat mail / d = delete mail / K = keap mail / q = quit ) ? "
+		echo -n "$ID : (c = cat mail / d = delete mail / u = search username used to send this mail / K = keap mail / q = quit ) ? "
 		read a
 		case $a in
 			c)
@@ -19,6 +19,9 @@ do
 				postsuper -d $ID
 				break
 			;;
+			u)
+				mailid_to_username $ID
+			;;
 			k|"")
 				break
 			;;
ViewGit