View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0011115 | mantisbt | public | 2009-11-03 10:46 | 2014-09-23 18:05 | |
Reporter | rgrr | Assigned To | dregad | ||
Priority | normal | Severity | minor | Reproducibility | have not tried |
Status | closed | Resolution | fixed | ||
Product Version | 1.1.8 | ||||
Target Version | 1.2.12 | Fixed in Version | 1.2.12 | ||
Summary | 0011115: phpmailer 2.3 breaks mail transmission | ||||
Description | ...due to changed default $LE. See Changelog of phpmailer: Version 2.3 (November 06, 2008)
| ||||
Additional Information | Solution for the problem is to add
around line 773 in email_api.php | ||||
Tags | No tags attached. | ||||
\r\n is the correct line ending although some mail servers also work with \n (and others are probably so broken that they ONLY work with \n). |
|
Right, but unfortunately mantis mail are transmitted as something like <snip> From: Mantis Bug Tracker reinhard.griech@... Message-ID: 79f894e52f11d8cfe0e53574054dfaed@stchps462.... X-Priority: 3 X-Mailer: PHPMailer (phpmailer.codeworxtech.com) [version 2.3] keywords: [...] Test In-Reply-To: <fcc322775c772ce2b15a6e55ae04d889> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="utf-8" The following issue has been ASSIGNED. ====================================================================== And that was the body, because the additional blank lines broke the header. This all is at least true for my smail smtp gateway. The phpmailer version before worked for me. |
|
Looks like 0006469? |
|
If you were asking me: may be... But: I really don't know, how phpmailer will expand correct line delimiters. Perhaps it is expanding a (correct) "\r\n" to "\r\r\n"? This would explain the following error message in /var/log/smail/logfile: 11/02/2009 14:14:49: [7787] [m1N4wkD-004C79C] Received FROM:reinhard.griech@... PROGRAM:sendmail ORIG-ID:<a920425c475366284c594b4b914cea20@... |
|
Could be related to 0010253 Also 0004754 mentioned \r\n , \n problems. I guess, that 0004754 can be closed though. It's on feedback and last change was on January 2007. |
|
This should be fixed in recent versions of PHPMailer. Feel free to reopen if this can be reproduced in 1.2.12 (not yet released as of this writing, try a nightly build) |
|
Marking as 'acknowledged' not resolved/closed to track that change gets ported to master-2.0.x branch |
|
MantisBT: master-1.2.x 8c81d4ca 2012-08-16 04:32 Details Diff |
Upgrade PHPMailer from 5.1 to 5.2.1 Version 5.2.1 (January 16, 2012) * Closed several bugs * Performance improvements * MsgHTML() now returns the message as required. * New method: GetSentMIMEMessage() (returns full copy of sent message) Version 5.2 (July 19, 2011) * protected MIME body and header * better DKIM DNS Resource Record support * better aly handling * htmlfilter class added to extras * moved to Apache Extras Fixes 0012562 |
Affected Issues 0011115, 0012562 |
|
mod - library/README.libs | Diff File | ||
mod - library/phpmailer/README | Diff File | ||
mod - library/phpmailer/class.phpmailer.php | Diff File | ||
mod - library/phpmailer/class.pop3.php | Diff File | ||
mod - library/phpmailer/class.smtp.php | Diff File | ||
mod - library/phpmailer/language/phpmailer.lang-br.php | Diff File | ||
mod - library/phpmailer/language/phpmailer.lang-ca.php | Diff File | ||
mod - library/phpmailer/language/phpmailer.lang-cz.php | Diff File | ||
mod - library/phpmailer/language/phpmailer.lang-de.php | Diff File | ||
mod - library/phpmailer/language/phpmailer.lang-dk.php | Diff File | ||
mod - library/phpmailer/language/phpmailer.lang-es.php | Diff File | ||
mod - library/phpmailer/language/phpmailer.lang-fi.php | Diff File | ||
mod - library/phpmailer/language/phpmailer.lang-fo.php | Diff File | ||
mod - library/phpmailer/language/phpmailer.lang-fr.php | Diff File | ||
mod - library/phpmailer/language/phpmailer.lang-hu.php | Diff File | ||
mod - library/phpmailer/language/phpmailer.lang-it.php | Diff File | ||
mod - library/phpmailer/language/phpmailer.lang-ja.php | Diff File | ||
mod - library/phpmailer/language/phpmailer.lang-nl.php | Diff File | ||
mod - library/phpmailer/language/phpmailer.lang-no.php | Diff File | ||
mod - library/phpmailer/readme_mantis.txt | Diff File | ||
MantisBT: master a4f644c9 2012-08-16 04:32 Details Diff |
Upgrade PHPMailer from 5.1 to 5.2.1 Version 5.2.1 (January 16, 2012) * Closed several bugs * Performance improvements * MsgHTML() now returns the message as required. * New method: GetSentMIMEMessage() (returns full copy of sent message) Version 5.2 (July 19, 2011) * protected MIME body and header * better DKIM DNS Resource Record support * better aly handling * htmlfilter class added to extras * moved to Apache Extras Fixes 0012562 |
Affected Issues 0011115, 0012562 |
|
mod - library/README.libs | Diff File | ||
mod - library/phpmailer/README | Diff File | ||
mod - library/phpmailer/class.phpmailer.php | Diff File | ||
mod - library/phpmailer/class.pop3.php | Diff File | ||
mod - library/phpmailer/class.smtp.php | Diff File | ||
mod - library/phpmailer/readme_mantis.txt | Diff File |