From: Ken Hornstein Date: Wed, 22 Jan 2014 23:59:07 +0000 (-0500) Subject: Fix mhmail so it works with the new world order. X-Git-Url: https://diplodocus.org/git/nmh/commitdiff_plain/640b86b846859e402e18d2363cb7f0d88be00aa3?ds=sidebyside;hp=-c Fix mhmail so it works with the new world order. --- 640b86b846859e402e18d2363cb7f0d88be00aa3 diff --git a/uip/mhmail b/uip/mhmail index 916732d8..a0baf2e9 100755 --- a/uip/mhmail +++ b/uip/mhmail @@ -84,8 +84,7 @@ fi tolist= ## To: addresses toarg=0 ## whether currently handling -to attacharg=0 ## whether currently handling -attach -attach_send_switch_added=0 ## whether added "-attach Nmh-Attachment" switch -attachind=Nmh-Attachment ## attachment indicator +attachind=Attach ## attachment indicator body= ## contents of the message body bodyarg=0 ## whether currently handling -body cclist= ## Cc: addresses @@ -114,11 +113,7 @@ for arg in "$@"; do mhmailswitch=1 attacharg=1 use_send=1 - if [ $attach_send_switch_added -eq 0 ]; then - #### Override any send -attach switch in user's profile. - postsendargs="${postsendargs:+$postsendargs }-attach $attachind" - attach_send_switch_added=1 - fi ;; + ;; -b|-bo|-bod|-body) mhmailswitch=1; bodyarg=1 ;; -c|-cc) mhmailswitch=1; ccarg=1 ;; -f|-fr|-fro|-from) mhmailswitch=1; fromarg=1 ;;