Post by mandom » Mon Apr 01, 2024 11:09 am

My email provider is blocking some of my outgoing emails. to yahoo hotmail etc.. not all but some. Blocked (Spam Content) by mailchannels
host smtp.mailchannels.net [44.237.146.173]
SMTP error from remote mail server after end of data:
550 5.7.1 [CS] Message blocked



when doing more reserach they say

The issue is caused by the fact that the email-sending function of the OpenCart application is not inserting/generating a Message-Id in the headers of the emails. A Message ID is a unique identifier assigned to an email message. It serves as a globally unique identifier for that specific email, allowing email systems to differentiate and track individual messages.

Is there anyway to fix this? im using opencart 3.0.3.8

New member

Posts

Joined
Tue Jun 30, 2015 4:44 pm

Post by halfhope » Mon Apr 01, 2024 12:13 pm

Hi!

I recommend you read about DKIM, SPF, and Dmarc and add it to your domain.

My FREE extensions in marketplace. [ security | flexibility | speedup ]


User avatar
Active Member

Posts

Joined
Tue Dec 10, 2013 9:44 pm
Location - San Diego

Post by Rayman1 » Mon Apr 01, 2024 6:18 pm

hi, i had the same issue yesterday with mailchannels when using SMTP.

Mailchannels searches for the message ID in the email header. If the message ID does not exist, mailchannels categorises the email as "spam".

So what you can do:

- Check if message-id exists, when you register a new account and you received the registration mail from opencart.
- If you use a newsletter extension to send the mails to your customers, check whether the extensions use an internal SMTP mail script such as "smtp.php".

In my case it was the newsletter extension, not Opencart itself. I have Opencart 3.0.2.0. Opencart created the message ID correctly with SMTP.

I have added the following line to the newsletter extension:

$header .= 'Message-ID: <' . base_convert(microtime(), 10, 36) . '.' . base_convert(bin2hex(openssl_random_pseudo_bytes(8)), 16, 36) . substr($this->from, strrpos($this->from, '@')) . '>' . PHP_EOL;

before the line

$header .= 'Return-Path: ' . $this->from . PHP_EOL;

This enabled me to successfully send the mails to my customers again. Please also set up SPF/DKIM to get a better rating.
Last edited by Rayman1 on Mon Apr 01, 2024 6:19 pm, edited 1 time in total.

Newbie

Posts

Joined
Mon Apr 01, 2024 6:06 pm

Post by mcksimpson » Tue Apr 02, 2024 3:37 am

Hi,
I'm the CEO of MailChannels. Please don't hesitate to email support@mailchannels.com and someone will gladly help you diagnose why your messages are being blocked. We don't mind helping endusers and you can expect a reply in under half an hour, 24x7.

Best of luck,
Ken

Newbie

Posts

Joined
Tue Apr 02, 2024 3:36 am

Post by paulfeakins » Tue Apr 02, 2024 7:34 pm

mcksimpson wrote:
Tue Apr 02, 2024 3:37 am
I'm the CEO of MailChannels.
Thanks for getting involved and helping users here on the OpenCart forum!

UK OpenCart Hosting | OpenCart Audits | OpenCart Support - please email info@antropy.co.uk


User avatar
Legendary Member

Posts

Joined
Mon Aug 22, 2011 11:01 pm
Location - London Gatwick, United Kingdom
Who is online

Users browsing this forum: No registered users and 15 guests