Jump to content
Antonio Garcia

Email subject with non ASCII char gives 550 Subject contains invalid characters (in hotmail)

Recommended Posts

As it seems that nobody report this issue, may be it's only a bug in my code/config, but I would like to ask if someone detect this issue:

I my case, I checked in: EDGE and into an old 2.2M site but NOT in PHOENIX the following:
PHP: 5.6
Hosting in linux servers
Detected at least in admin/email.php (sending email from admin)

I detected that, in spanish sites when the subject comes with not ASCII chars, the emails:

- Are received by gmail.com recipients.
- Not reaches in xxx@hotmail.com. In my case, the sender email (XXX@gmail.com) receives a 'Mail delivery failed: returning message to sender' with the following error:

xxxl@hotmail.com
 host outbound.mailspamprotection.com [184.154.136.82]
 SMTP error from remote mail server after end of data:
 550 Subject contains invalid characters.

EDGE and 2.2m shares the same email.php class.

Tried to change:

$this->build_params['text_encoding'] = '7bit';

to

$this->build_params['text_encoding'] = 'base64';

with no success...

Anybody has the same issue?


Get the latest current code (community-supported responsive 2.3.4.1BS Edge) here

No pierdas el tiempo. Si quieres usar la versión más estable de osCommerce (la realizada por la comunidad, que además es 'responsive', la 2.3.4.1BS Edge) pincha aquí y aquí para descargarte el idioma Español.

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

×