From: "Dan Muey" <[EMAIL PROTECTED]>
> Shoot me if this is already in the docs but is it possible to send a
> variable that contains html as an html attachement without it being a
> file first using Mail::Sender?

:-)

Yes it it possible.

        $sender = new Mail::Sender {...};
        $sender->OpenMultipart({..});
        $sender->Body({ctype => 'text/plain', msg => $message_body});
        $sender->Part({ctype => 'text/html', disposition => 'attachment',
                msg => $html
        });
        $sender->Close();

Jenda
===== [EMAIL PROTECTED] === http://Jenda.Krynicky.cz =====
When it comes to wine, women and song, wizards are allowed 
to get drunk and croon as much as they like.
        -- Terry Pratchett in Sourcery


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to