Jump to content
wiseprt

Mail failure - malformed recipient address prestashop 1.6

Recommended Posts

Hello there,

 

I have problem with email sending from contact form but only when the subject is referring to an order.

 

User go to contact page, and trying to send an email regarding his order.

 

When he press the send button the page is showing : "There is 1 error. Error sending message" and at the same time receiving in his email inbox a subject: "Mail failure - malformed recipient address" with email body something like:

----

=?UTF-8?B?zqPPh861z4TOuc66zqwgzrzOtSDPhM63zr0gzqDOsc+BzrHOs86zzrXOu86v?=\n =?UTF-8?B?zrEgz4POsc+C?= <eshop@email.com>\n Subject: =?utf-8?Q?[eshopname]?= =?utf-8?Q?_=CE=9C=CE=AE=CE=BD=CF=85=CE=BC=CE=B1?= =?utf-8?Q?_=CE=B1=CF=80=CF=8C_=CF=84=CE=B7?= =?utf-8?Q?_=CF=86=CF=8C=CF=81=CE=BC=CE=B1?= =?utf-8?Q?_=CE=B5=CF=80=CE=B9=CE=BA=CE=BF=CE=B9=CE=BD=CF=89=CE=BD?= =?utf-8?Q?=CE=AF=CE=B1=CF=82_=CF=84=CE=BF=CF=85_ .....

This is a message in multipart MIME format. Your mail client should not\n be displaying this. Consider upgrading your mail client to view this\n message correctly

----

 

Any thoughts?

My version is 1.6.0.14 and i am not using the default template but a 3rd party's.

 

Best Regards

 

Share this post


Link to post
Share on other sites

Hi,

 

i suppose this is not a host issue, i am using the monstermegs server which located in Netherlands.

Any help appreciated.

 

Best Regards

Share this post


Link to post
Share on other sites

Update:

 

Just noticed that the issue is only when the eshop language is at greek (/el) in english (/en) all email forms are working fine and email sending to the customers!

 

Any thoughts? Encoding issue?

Share this post


Link to post
Share on other sites

Update: Noticed that (only for greek) if the subject is regarding order, if i choose order id from droprdown then the email sending successfully. If not choose an order, then i got the mail failure.

 

For english no matter if choose order id or not, the message sending successfully.

 

Please guys help.

 

Best Regards

Share this post


Link to post
Share on other sites

We're having a somewhat similar issue. I think I have narrowed it down to the use of special characters. 

Like the Danish Æ,Ø, Å and most likely Greek letters as well.

 

We’re seeing it in the mail headers on the shop’s outgoing mail. If the name of the customer contains special characters like Æ,Å,Ø the recipient header ends up like your

=?UTF-8?B?zqPPh861z4TOuc66zqwgzrzOtSDPhM63zr0gzqDOsc+BzrHOs86zzrXOu86v?

 

Try stripping the encoded string from the line like this:

zqPPh861z4TOuc66zqwgzrzOtSDPhM63zr0gzqDOsc+BzrHOs86zzrXOu86v

 

And decode it here:

https://www.base64decode.org/

 

You come up with this:

Σχετικά με την Παραγγελί

According to Google translate it means: About Your Order.

 

We have tried upgrading to the latest mail.php but we’re still seeing the issue.

I was going to report it as a bug, but I can’t for our version of the shop.

 

 

 

Our shop version:

1.6.0.9

Share this post


Link to post
Share on other sites

Just to clarify,

We’re seeing this buggy recipient mail header in both outlook , android gmail and in outlook.com. So it does not appear to be mail client related.

We have tested a customer without special characters in the name – it works with no problems. The recipient header is as expected.

 

There have been reports on this before, but as far as I can tell only with older versions of prestashop. Fixes that we're proposed cannot be used as the mail.php has been changed quite a bit since.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More