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.
-
Are you posting in the right place? Check out Where do I post X? to know for sure.
-
Posts may use any of the Perl Monks Approved HTML tags. Currently these include the following:
<code> <a> <b> <big>
<blockquote> <br /> <dd>
<dl> <dt> <em> <font>
<h1> <h2> <h3> <h4>
<h5> <h6> <hr /> <i>
<li> <nbsp> <ol> <p>
<small> <strike> <strong>
<sub> <sup> <table>
<td> <th> <tr> <tt>
<u> <ul>
-
Snippets of code should be wrapped in
<code> tags not
<pre> tags. In fact, <pre>
tags should generally be avoided. If they must
be used, extreme care should be
taken to ensure that their contents do not
have long lines (<70 chars), in order to prevent
horizontal scrolling (and possible janitor
intervention).
-
Want more info? How to link
or How to display code and escape characters
are good places to start.
|