To send mail from UNIX terminal we can use mutt utility.
Syntax :
> echo " Some text " | mutt -a <Any attachment> -s "Subject line" -- email-address
Example :
> echo "Wish you happy birthday" | mutt -a "gift.jpg" -S "Happy birthday" -- techmail@techinfotalks.com
Comments
Post a Comment