Using mail or mutt utilities we can send HTML emails from Unix console or bash scripts.
Following scriptlet sends a HTML content from mytest.html file:
mutt -e "my_hdr Content-Type: text/html" test@yahoo.com -s "subject" < mytest.html
Thanks.
No comments:
Post a Comment