I did take a listmember's suggestion and tried out MIME::Lite for including a html attachment in an email. Unfortunately it's not doing what I'd like it to. I'm trying to get a perl script to slurp in a ..html file and e-mail it as HTML mail, just as you'd receive from buy.com, amazon.com, etc.
Even though when I look at the source it appears to be formatted pretty much the same as HTML mails that work (from marketers mentioned above), it still doesn't work! In outlook, it only shows the text part. I'm totally stumped, and I'm wondering if MIME::Lite can't do this. I'll include my small test script...any help is appreciated! use MIME::Lite; # Create the message headers my $mime_msg = MIME::Lite->new( From => '[EMAIL PROTECTED]', To => '[EMAIL PROTECTED]', Subject => 'MIME test: HTML', Type => 'multipart/alternative' ); # Add text part $mime_msg->attach( Type =>'text/plain; charset=US-ASCII', Data =>"Here's the text part", ); # add html part $mime_msg->attach( Type => 'text/html; charset=US-ASCII', Path => '/usr/home/web/patrick_mail2002.htm', Encoding =>'quoted-printable' ); $mime_msg->scrub; $mime_msg->send; -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]