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.

Relationships

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

Activities

piotrusx

piotrusx

2016-07-21 04:50

reporter  

problem.png (12,997 bytes)   
problem.png (12,997 bytes)   
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

Issue History

Date Modified Username Field Change
2016-07-21 04:50 piotrusx New Issue
2016-07-21 04:50 piotrusx File Added: problem.png
2016-07-21 04:57 vboctor Status new => feedback
2016-07-21 04:57 vboctor Category upgrade => email
2016-07-21 04:57 vboctor Note Added: 0053673
2016-07-21 05:21 piotrusx Note Added: 0053674
2016-07-21 05:21 piotrusx Status feedback => new
2016-07-21 06:23 atrol Product Version => 1.3.0
2016-09-22 04:41 atrol Relationship added has duplicate 0021708
2016-11-29 03:41 atrol Relationship added related to 0021971
2017-01-03 06:02 Erwin Note Added: 0054900
2017-01-03 07:50 atrol Note Added: 0054903