Can you please post exactly what Linux distribution and version you are using?
And versions of the relevant modules?
I'll see if I can duplicate your setup in a virtual machine.
| [reply] |
Ubunutu 9.04 Jaunty
Email-Date-Format-1.002
Email-MIME-1.903
Email-MIME-Encodings-1.313
Email-Simple-2.100
Email-Stuff-2.101
I also observe the same behavior on a SLES10 machine with the same modules and versions.
On another SLES10 machine with older modules, I don't see this behavior, i.e., when I use as_string, the lines are terminated by \n, not \r\n. The versions on that machine are:
Email-Date-Format-1.002
Email-MIME-1.863
Email-MIME-Encodings-1.313
Email-Simple-2.005
Email-Stuff-2.09
| [reply] |
I tried the same test using Email::Sender::Simple and MIME::Lite. Both of those modules did the right thing. I guess I'll just switch to using one of them. | [reply] |