- #### -b or -c. For the new switches that compiled mhmail didn't
- #### have: let -p indicate mhmail -profile, not send -port, and
- #### let -d indicate mhmail -debug, not send -draft.
- -b|-bo|-bod|-body) bodyarg=1 ;;
- -c|-cc) ccarg=1 ;;
- -d|-de|-deb|-debu|-debug) debug=echo ;;
- -f|-fr|-fro|-from) fromarg=1 ;;
- -h|-he|-hel|-help) printf "%s\n" "${usage}"; exit ;;
- -p|-pr|-pro|-prof|-profi|-profil|-profile) use_send=1 ;;
- -s|-su|-sub|-subj|-subje|-subjec|-subject) subjectarg=1 ;;
+ #### -b, -c, -r, -t. For the new switches that compiled mhmail
+ #### didn't have: let -p indicate mhmail -profile, not send
+ #### -port. -send masks the send(1) -send switch. -attach
+ #### masks the send(1) -attach switch.
+ -at|-att|-atta|-attac|-attach)
+ 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 Nmh-Attachment"
+ 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 ;;
+ -hea|-head|-heade|-header|-headerf|-headerfi|-headerfie|-headerfiel|\
+-headerfield) mhmailswitch=1; headerfieldarg=1 ;;
+ -hel|-help) printf "%s\n" "${usage}"; exit ;;
+ -nose|-nosen|-nosend) mhmailswitch=1; sendsw=0 ;;
+ -p|-pr|-pro|-prof|-profi|-profil|-profile) mhmailswitch=1; use_send=1 ;;
+ -resend) printf "mhmail: did you mean -resent instead of -resend?\n" 1>&2
+ exit 1 ;;
+ -r|-re|-res|-rese|-resen|-resent) mhmailswitch=1; resent=1 ;;
+ -se|-sen|-send) mhmailswitch=1; sendsw=1 ;;
+ -su|-sub|-subj|-subje|-subjec|-subject) mhmailswitch=1; subjectarg=1 ;;
+ -t|-to) toarg=1; ccarg=0 ;;