I have created a shell scripts and wanted to email users multiple attachments using mailx. I noticed that when I do a man on mailx I see and -a option for attachments. When I run a:
mailx -s "test attachments" -a include_file -a exclude_file testuser@mydomain.com
(Interrupt -- one more to kill letter)
EOT
I had to do a control D to send it. What is the trick to getting it to work?
The site of reference
http://www.cyberciti.biz/faq/howto-unix-sending-files-as-mail-attachments/
I noticed that when I do a man on mailx I see and -a option for attachments. When I run a: