|Just another Perl shrine|
Problem sending html using sendmailby Bob H (Initiate)
|on Nov 17, 2009 at 16:37 UTC||Need Help??|
Bob H has asked for the
wisdom of the Perl Monks concerning the following question:
Hello kind Monks
The following code
happily sends plain text, but incorrectly, also sends html code as plain text (showing the code).
are not appearing in the headers of the sent email.
When I include html in the message, there's an error message in the email headers:
which underlines that the content type is missing.
I'm wondering if the problems is in the perl code, or in the way that sendmail operates or the Red Hat Linux server we're running the script on is set up?
Any pointers or answers gratefully received.