When I get emails from those places, the HTML isn't an attachment.. it is the body of the message. Those emails are not multipart. The body of the message should be HTML, and the Content-Type of the email should be text/html.
There should be no 'text part', or any parts... if you want to mimic the SPAM emails you are referring to. Cheers, Kevin > > > 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! -- [Writing CGI Applications with Perl - http://perlcgi-book.com] Down that path lies madness. On the other hand, the road to hell is paved with melting snowballs. --Larry Wall in <[EMAIL PROTECTED]> -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]