View Issue Details
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0019829||mantisbt||public||2015-06-11 17:44||2018-03-21 04:24|
|Priority||normal||Severity||minor||Reproducibility||have not tried|
|Summary||0019829: Emails looks scrambled|
Since update it seems the emails look all scrambled, as in a lot of the following characters:
It seems this was due to the fact that Content-Transfer-Encoding is set to "quoted-printable". We fixed this setting this back to 8-bit on core/email_api.php line 916
|Tags||No tags attached.|
Which PHP version do you use?
Please add a screenshot of a scrambled mail.
The additional information listed below may also be useful:
Are the emails that you get from us also scrambled?
no, they look pretty good on all our mail clients
Reminder sent to: vboctor
This definitely looks like a regression introduced by commit 8db8537a.
Since it would appear that the issue is dependent on the smtp infrastructure, maybe the encoding needs to become a config option,
I am wondering if this could be a bug in function quoted_printable_encode on OSX PHP 5.3.3-0 or a bug in phpMailer fallback if quoted_printable_encode is not available
Whenever possible we should not introduce new configuration options that might just serve to workaround a bug.
@raro please create a file test.php in root directory of your Mantis installation with the following content:
What's the output when running the script?
Furthermore, undo your mentioned changes in core/email_api.php line 973 (found in description of 0019828) to be sure that this issue is not a side effect of those changes.
Testing: quoted_printable_encode does exist
Furthermore, the escpaing changes are done after the email bug (and the changes i made to temp fix it), so undo'ing them won't have any effect i reckon
I had the same issue about a month ago. This was not related to phpmailer but to the encodnig of the email builded by mantis.
I just simply changed all the construction of the email to text/html and rebuilded the email_api.php to a new skin, this allow more flexible content to be included in the email.
But is a large modification sooooo i dont think anyone will be interested... i attached a screenshot of and user email he recieved from us.
Will not help with newer versions of phpMailer.
as stated in the the other ticket (0019828) the webserver is Debian based
|2015-06-11 17:44||raro||New Issue|
|2015-06-12 02:37||atrol||Relationship added||related to 0016871|
|2015-06-12 02:50||atrol||Status||new => feedback|
|2015-06-12 02:50||atrol||Note Added: 0050899|
|2015-06-12 03:55||raro||File Added: mantis-email-scrambled.jpg|
|2015-06-12 03:55||raro||Note Added: 0050900|
|2015-06-12 03:55||raro||Status||feedback => new|
|2015-06-12 05:04||atrol||Status||new => feedback|
|2015-06-12 05:04||atrol||Note Added: 0050901|
|2015-06-12 05:14||raro||Note Added: 0050903|
|2015-06-12 05:14||raro||Status||feedback => new|
|2015-06-12 07:57||dregad||Note Added: 0050905|
|2015-06-12 10:04||atrol||Status||new => feedback|
|2015-06-12 10:04||atrol||Note Added: 0050906|
|2015-06-14 11:16||raro||Note Added: 0050914|
|2015-06-14 11:16||raro||Status||feedback => new|
|2015-06-24 10:24||fgalvis||File Added: email_screenshot_7.png|
|2015-06-24 10:30||fgalvis||Note Added: 0050975|
|2015-06-27 15:56||atrol||Note Added: 0050987|
|2015-07-14 11:01||raro||Note Added: 0051064|
|2017-09-15 02:32||atrol||Relationship added||related to 0023362|
|2018-03-21 04:24||atrol||Relationship added||related to 0024096|