in reply to Sending html mail with Mail::Mailer

Hey there

ive always used Mail::Sender

mostly cuz it does attachements too :)

i was pleasantly surprised one day when i needed to do an
html mailout and Mail::Sender could handle this:

use Mail::Sender; sub mail { my $sender; my $return = ""; $sender = new Mail::Sender( { from => 'dot@bomb.com', smtp => 'dot@bomb.com' } ) or $return = "$Mail::Sender::Error\n"; $sender->MailMsg( { to => $_[0], subject => $_[2], bcc =>'dot@bomb.com', msg => $_[1], ctype => 'text/html', } ) or $return = "$Mail::Sender::Error\n"; return "$return";


hope that helps


back in the day we didnt have no old school