Be advised that not everyone can read HTML mail and
there is a large number of people ( myself included ) who do not like it at all.
This is what I use, I'm sure there are better
ways...
use Mail::Sender;
my $sender = new Mail::Sender {
smtp => 'mail' };
$sender->Open( { from =>
'rongrabowski@',
fromaddr => 'rongrabowski@', fake_from => "noone\@", to => 'foo@', subject => 'bar', headers => "MIME-Version: 1.0\r\nContent-type: text/html\r\nContent-Transfer-Encoding: 7bit" } );
$sender->Send(<<END_OF_HTML_MAIL);
<PRE> hello world
</PRE>
END_OF_HTML_MAIL
$sender->Close;
|
- html in emails andy
- Re: html in emails Ron Grabowski
- Re: html in emails Jenda Krynicky
- Re: html in emails Mark Bergeron