Sending email from shell via mutt
| 09-Oct-2012 | Posted by Sonia Hamilton under mutt |
A quick example of sending email from the shell via mutt.
% cat msg.txt pdf attached. Sonia. for i in *.pdf ; do mutt -s "pdf - $i" -a $i -- 'foo@hotmail.com' < msg.txt done
No rocket science, just saving me from RTFM’ing next time…
Share This
Recent Comments
<<EOF>>was eaten...cat <>~/.vi...