Jump to content

Using A Complicated Store Name Breaks Email Standards (Prestashop 1.6.1.2)


Recommended Posts

Hi,

 

My Test Store is named:

*TEST* mystorename *TEST*

 

in Store Contacts

my shop email is

 

[email protected]

 

when the webshop sends email, it breaks the standard for the From: field by not enquoting the store name, so the email is rejected:

 

snippet from the message-header:

Received: from mystore.com ([192.168.0.77])
    by mail.somewhere.com
    with XWall v3.51 ;
    Fri, 20 Nov 2015 14:46:17 +0100
Return-Path: <[email protected]>
To: Some Customer <[email protected]>
From: *TEST* mystorename *TEST* <[email protected]>
Reply-To: [email protected]

 

 

response from the mail server:

 

Remote-MTA: dns; mail.somewhere.com
Action: failed
Status: 5.0.0
Diagnostic-Code: smtp;
 DATA
 354 Enter mail, end with "." on a line by itself
 502 5.0.0 The Header From: address <*TEST* mystorename>  is not valid.......

 

according to the rfc, when there are special characters in the email from name (any characters other than a-z, A-Z, 0-9
), it needs to be and enclosed in quotes like this:

 

From: "*TEST* mystorename *TEST*" <[email protected]>

 

This feature seems to be missing in prestashop 1.6.1.2

 

how to fix this issue ??

 

Regards,

 

Henrik

 

 

 

 

 

 

Link to comment
Share on other sites

  • 4 weeks later...
  • 4 weeks later...

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...