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
Hi!
I recommend you read about DKIM, SPF, and Dmarc and add it to your domain.
I recommend you read about DKIM, SPF, and Dmarc and add it to your domain.
My FREE extensions in marketplace. [ security | flexibility | speedup ]
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.
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.
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
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
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
Legendary Member
Who is online
Users browsing this forum: No registered users and 15 guests