Yes, I am using Mail::Sendmail and have been for quite a few years.
I have tried everything, including these things:
$__to =~ s/(\r\n|\n\r|\r|\n)/\r\n/sg;
$__cc =~ s/(\r\n|\n\r|\r|\n)/\r\n/sg;
$__bcc =~ s/(\r\n|\n\r|\r|\n)/\r\n/sg;
$__from =~ s/(\r\n|\n\r|\r|\n)/\r\n/sg;
$__subject =~ s/(\r\n|\n\r|\r|\n)/\r\n/sg;
$__html_message =~ s/(\r\n|\n\r|\r|\n)/\r\n/sg;
$__text_message =~ s/(\r\n|\n\r|\r|\n)/\r\n/sg;
$__importance =~ s/(\r\n|\n\r|\r|\n)/\r\n/sg;
$__xpriority =~ s/(\r\n|\n\r|\r|\n)/\r\n/sg;
$__x_ms_priority =~ s/(\r\n|\n\r|\r|\n)/\r\n/sg;
$_mail_Message =~ s/(\r\n|\n\r|\r|\n)/\r\n/sg;
# And this:
$_mail_Message =~ s/\cJ\cM$/\r\n/eg;
# Done this for each of the variables...
Still it does not work. I am thinking at this point, that it is the module, Mail::Sendmail, maybe it is doing something that is causing the errors. I have tried everything, even sending fake information with only one letter in each field and still we get that message.
Maybe it is time for me to find another module to send out the emails one at a time or a bunch at once.
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
Read Where should I post X? if you're not absolutely sure you're posting in the right place.
Please read these before you post! —
Posts may use any of the Perl Monks Approved HTML tags:
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
| |
For: |
|
Use: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.