about summary refs log tree commit diff
diff options
context:
space:
mode:
authorLeah Neukirchen <leah@vuxu.org>2018-04-17 15:06:36 +0200
committerLeah Neukirchen <leah@vuxu.org>2018-04-17 15:06:36 +0200
commit14a2c978db73f847df97633c2c058cd5bdc3ba59 (patch)
treeb34fae6176ea3e711113897a740272464bb032cd
parent33ce21af6e3b98d0852b9220703f6f70f9dca83f (diff)
downloadmblaze-14a2c978db73f847df97633c2c058cd5bdc3ba59.tar.gz
mblaze-14a2c978db73f847df97633c2c058cd5bdc3ba59.tar.xz
mblaze-14a2c978db73f847df97633c2c058cd5bdc3ba59.zip
mcom: mark drafts as seen after sending
-rwxr-xr-xmcom4
1 files changed, 2 insertions, 2 deletions
diff --git a/mcom b/mcom
index 4f8f4f6..cd462de 100755
--- a/mcom
+++ b/mcom
@@ -352,7 +352,7 @@ while :; do
 				if $sendmail <$draftmime; then
 					if [ "$outbox" ]; then
 						mv $draftmime $draft
-						mflag -d $draft
+						mflag -d -S $draft
 					else
 						rm $draft $draftmime
 					fi
@@ -370,7 +370,7 @@ while :; do
 				stampdate $draft
 				if $sendmail <$draft; then
 					if [ "$outbox" ]; then
-						mflag -d $draft
+						mflag -d -S $draft
 					else
 						rm $draft
 					fi