Jump to content

Weird characters in e-mails


Recommended Posts

Hello, i have a problem. After someone receives a message over the shop

he sees folowing characters. Those are always same. Usually there should be the Username from the Customer.

 

Unbenannt.PNG

Im using 1.4.7.0

 

I tryed folowing things.

Downloaded & uploaded Prestashop again

Changing from phpmail to SMTP

Trying other host.

Fresh install only i changed only email Settings.

Several e-mail accounts

 

Would be nice if someone could help me

Link to comment
Share on other sites

Hello, i have a problem. After someone receives a message over the shop

he sees folowing characters. Those are always same. Usually there should be the Username from the Customer.

 

Unbenannt.PNG

Im using 1.4.7.0

 

I tryed folowing things.

Downloaded & uploaded Prestashop again

Changing from phpmail to SMTP

Trying other host.

Fresh install only i changed only email Settings.

Several e-mail accounts

 

Would be nice if someone could help me

 

PrestaShop 1.4.6.2

 

I'm having the exact same problem. Sometimes, though, the name is correct, but I can't find any 'pattern', i.e. it is not so that order confirmation emails always have correct name.

 

Would appreciate some solution to this! Thanks in advance.

Link to comment
Share on other sites

PrestaShop 1.4.6.2

 

I'm having the exact same problem. Sometimes, though, the name is correct, but I can't find any 'pattern', i.e. it is not so that order confirmation emails always have correct name.

 

Would appreciate some solution to this! Thanks in advance.

 

Did you fix this somehow?

Link to comment
Share on other sites

I had the same problem. I have several prestashop installations (older ones), where this doen´t occur, only now in version 1.4.7.

 

Solution: open classes/Mail.php

 

Line 111

 

Replace

 

$to = new Swift_Address($to, base64_encode($toName));

 

with

 

$to = new Swift_Address($to, $toName);

  • Like 1
Link to comment
Share on other sites

  • 2 weeks later...

Thanks for this fix. It solves the issue indeed.

 

Strangely, though, I can see, that the subject is still encoded but it seem to be decoded correctly by my mail client (thunderbird and roundcube). Hmm. According to this link

 

http://www.hcidata.info/base64.htm

 

base64 encoding is done the solve problems with non-ASCII characters. So this seemsto be the reason why the encoding takes place in the first place. So the question probably is, why thunderbird/roundbuce and the mail client used by sickz do not decoded the to-address correctly, while they apparently decode the subject correctly?

 

 

I had the same problem. I have several prestashop installations (older ones), where this doen´t occur, only now in version 1.4.7.

 

Solution: open classes/Mail.php

 

Line 111

 

Replace

 

$to = new Swift_Address($to, base64_encode($toName));

 

with

 

$to = new Swift_Address($to, $toName);

Link to comment
Share on other sites

×
×
  • Create New...