Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Re: sending an email using sendmail so that it looks like a webpage and not html

by monkey_boy (Priest)
on Jul 07, 2004 at 12:13 UTC ( [id://372354]=note: print w/replies, xml ) Need Help??


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

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://372354]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others lurking in the Monastery: (4)
As of 2024-03-29 09:31 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found