View Issue Details

IDProjectCategoryView StatusLast Update
0021399mantisbtemailpublic2017-01-03 07:50
Reporterpiotrusx Assigned To 
PrioritynormalSeverityminorReproducibilityalways
Status newResolutionopen 
Product Version1.3.0 
Summary0021399: problem with email format after update
Description

Hello,
after update to 1.3.0 version I have a problem with email format.
I receive e-mails as text message, but I have a problem with rows divide.
Now it looks like completely unformatted email.
Could you help me?

TagsNo tags attached.
Attached Files
problem.png (12,997 bytes)   
problem.png (12,997 bytes)   

Relationships

has duplicate 0021708 closedatrol Width of email notification 
related to 0021971 closeddregad Email notification incorrectly display messages 

Activities

vboctor

vboctor

2016-07-21 04:57

manager   ~0053673

Try commenting out the lines below in core/email_api.php L1143 in function email_send.

# Setup new line and encoding to avoid extra new lines with some smtp gateways like sendgrid.net
$t_mail->LE         = "\r\n";
$t_mail->Encoding   = 'quoted-printable';
piotrusx

piotrusx

2016-07-21 05:21

reporter   ~0053674

It works!
Thank you!

Erwin

Erwin

2017-01-03 06:02

reporter   ~0054900

Hello,

FYI the problem still occurs after an upgrade to release 1.3.5.

The fix still works, though, but this issue is pretty annoying when you install/upgrade.

atrol

atrol

2017-01-03 07:50

developer   ~0054903

$t_mail->LE = "\r\n";
in PHPMailer 6.0 this will be the default, and will not be alterable [1]

Just to keep in in mind if we should change the setting in MantisBT and upgrade to PHPMailer 6.0 at a later time.

[1] https://github.com/PHPMailer/PHPMailer/issues/947#issuecomment-269974732