in reply to sending an email using sendmail so that it looks like a webpage and not html
You may get away with adding a Content-Type: text/html header to the mail message but I would suggest that probably the easiest way of doing this is to use the module MIME::Lite - this can be as easy as:
Of course you would need to add the extra code to loop through the list.use MIME::Lite; + my $msg = MIME::Lite->new( From =>'jns@localhost', To =>'jonathan@localhost', Subject =>'Test', Type =>'text/html', Data =>'<h1>THis is a test</h1>'); $msg->send();
/J\
|
|---|