in reply to Mail::Sender problem.
yes, the NSA routinely installs bugs in the source code of free software.
sorry, couldn't help myself
seriously: you didn't cut-and-paste properly, the example you need is in the documentation:
$sender->OpenMultipart({to => 'Perl-Win32-Users@activeware.foo', subject => 'Mail::Sender.pm - new module'}); $sender->Body; $sender->Send(<<'*END*'); Here is a new module Mail::Sender. It provides an object based interface to sending SMTP mails. It uses a direct socket connection, so it doesn't need any additional program. Enjoy, Jenda *END* $sender->SendFile( {description => 'Perl module Mail::Sender.pm', ctype => 'application/x-zip-encoded', encoding => 'Base64', disposition => 'attachment; filename="Sender.zip"; type="ZIP archive"', file => 'sender.zip' }); $sender->Close;
And then there's the question whether you should use HTML in the body of an e-mail at all....
-- Brigitte 'I never met a chocolate I didnt like' Jellinek http://www.horus.com/~bjelli/ http://perlwelt.horus.at
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Mail::Sender problem.
by Jonathan (Curate) on Jan 08, 2002 at 14:24 UTC |