in reply to sending an email using sendmail so that it looks like a webpage and not html

You need to set the mime type , use something like this:

use Mail::Mailer; my $mailer = Mail::Mailer->new("sendmail"); $mailer->open({ From => '$you', To => $mailto, Subject => 'foo', 'Content-type'=> 'text/html' }) or warn "Can't open: $!\n"; print $mailer $mail_string; $mailer->close();
I should really do something about this apathy ... but i just cant be bothered
  • Comment on Re: sending an email using sendmail so that it looks like a webpage and not html
  • Download Code