Linux

Monday, August 31, 2009

Mail from linux prompt

Simple way to send an attachment over mail from the linux shell

uuencode surfing.jpeg surfing.jpeg | mail sylvia@home.com

mutt -s "Birthday celebration" -a citymap.jpg all@friends.org \< invitation.txt

To send without message
mutt -s "Birthday celebration" -a citymap.jpg all@friends.org \< /dev/null

Reference:
http://www.shelldorado.com/articles/mailattachments.html

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home