Stylesheet in Email

8 views
Skip to first unread message

NMUX

unread,
Jul 20, 2009, 11:39:08 AM7/20/09
to Perl Mail::Sendmail
Hi All,

I was able to send html file as the body of the email as below:

export MAILTO="em...@company.com"
export SUBJECT="test message"
(
echo "Subject: $SUBJECT"
echo "MIME-Version: 1.0"
echo "Content-Type: text/html"
echo "Content-Disposition: inline"
echo "<HTML><BODY>"
echo `cat test.html`
echo "</BODY></HTML>"
) | /usr/sbin/sendmail $MAILTO

However, my question is how to include stylesheet in the email body?
The HTML file has stylesheet but doesn't show in email body.
Reply all
Reply to author
Forward
0 new messages