Ok, managed to do it myself, using MIME::Lite.
:)
On Donnerstag, September 12, 2002, at 04:18 Uhr, Sven Bentlage wrote:
> Hi everyone!
> I am using the Net::SMTP module to send some confirmation emails.
> Until now I sent just plain text emails, but now I'd like to "produce"
> a html mail.
> Both email clients I tested (mail.app / Outlook Express 6) only
> display the source code.
>
> Could anybody give me a hint, where to look or how to do it?
> (Actually I'd prefer the first.. :) )
>
> Thanks for your help in advance.
>
> Sven
>
> part of the code:
> $smtp->mail($sender);
> $smtp->to($pemail);
>
> $smtp->data();
> $smtp->datasend("TO: $pemail\n\n");
> $smtp->datasend("FROM: SCRIPT TEST\n\n");
> $smtp->datasend("
>
> <html>
> <head></head>
> <body>
> <h1>TEST</h1>
> </body>
> </html>
> ");
>
> $smtp->dataend();
> $smtp->quit();
>
>
> --
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]