![]() |
|
laziness, impatience, and hubris | |
PerlMonks |
Can't get an email message to format properly... Linefeeds not working?by NeilF (Sexton) |
on Jan 19, 2006 at 22:32 UTC ( #524364=perlquestion: print w/replies, xml ) | Need Help?? |
NeilF has asked for the wisdom of the Perl Monks concerning the following question:
I've got a simple routine to fire out emails. I noticed with some calls the mails appeared as expected, but with others the linefeeds were not working. Instead of appearing on a new line there'd just be a space and then the text. When this happens in Outlook you can enable/disable "Wrap" and the message will appear correctly/incorrectly. There's something here I don't understand, and hope someone can point out what's going wrong. The following example sends out two emails, one with double linefeeds and one with single linefeeds. The one with double linefeeds behaves as expected. The one with single line feeds does not!
The two emails I get appear line this:-
A reply has been posted to your message on the website blah blah blah. The URL for the response is http://www.awebsite.com/cgi/software/program.pl?f=1&m=254388&df=1 Like I say some emails I send appear absolutely fine so I'm not sure if length of lines play some part in it working? But something very odd is going on!?
Back to
Seekers of Perl Wisdom
|
|