Welcome to the Monastery | |
PerlMonks |
Re: Send mail helpby dwm042 (Priest) |
on Jun 29, 2011 at 22:14 UTC ( [id://912053]=note: print w/replies, xml ) | Need Help?? |
Just an FYI about Mime::Lite and other means of sending HTML emails. Well configured HTML emails also have a pure text version as well. In part, this is because certain mail clients can't handle HTML emails. To note, one signature of HTML mail from viruses is that they only include the HTML version since their mails are intended to infect others (via urls bringing in nastiness). Therefore, HTML emails without a pure text equivalent have much higher spam scores. I'm in the process of replacing hard coded text emails (coded much in the manner of the OP) with a Mime:Lite and Template based solution, that allows my internal customers to write their own emails to our external clients. And I'm asking my customers to write both a HTML version and a non-HTML version to place in an email. A code snippet would be:
In Section
Seekers of Perl Wisdom
|
|