OC Version: 4.0.2.3, Theme: Custom, Extension/Mods: TMD Email Verification (but disabled), php Version: 8.1
Hi
I can send emails from opencart to gmail addresses, but not to outlook.
They just don't appear in outlook junk folder or otherwise.
I can send emails from my web host email system, they arrive OK.
So not a blacklist issue on the general mail server, but maybe flagging as spam to reject by outlook if from opencart?
Now this might be a 'red herring' on the base64 issue....
Not saying they're ascii only (don't know) - see BASE64_LENGTH_79_INF, not smart enough to know 100% if that's the problem.
I did try a function to only use base64 encoding if needed. Didn't work, but I don't really "know" PHP.
No error messages appear chrome dev tools. No notification from outlook back to me.
Can't see outlook spam (can't see message) but have checked gmail email spam score (looks OK?) and it flags as:
X-Spam-Flag: NO
X-Spam-Score: 2.917
X-Spam-Level: **
X-Spam-Status: No, score=2.917 tests=[BASE64_LENGTH_79_INF=2.019, FROM_EXCESS_BASE64=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_BLOCKED=0.001, SPF_HELO_SOFTFAIL=0.896, SPF_PASS=-0.001] autolearn=disabled
Whilst opencart functions without this, it is annoying and doesn't give a professional customer experience.
Help!!!!! Thanks in advance.
A link to your site: https://auxibrain.com/products/index.ph ... uage=en-gb
Hi
I can send emails from opencart to gmail addresses, but not to outlook.
They just don't appear in outlook junk folder or otherwise.
I can send emails from my web host email system, they arrive OK.
So not a blacklist issue on the general mail server, but maybe flagging as spam to reject by outlook if from opencart?
Now this might be a 'red herring' on the base64 issue....
Not saying they're ascii only (don't know) - see BASE64_LENGTH_79_INF, not smart enough to know 100% if that's the problem.
I did try a function to only use base64 encoding if needed. Didn't work, but I don't really "know" PHP.
No error messages appear chrome dev tools. No notification from outlook back to me.
Can't see outlook spam (can't see message) but have checked gmail email spam score (looks OK?) and it flags as:
X-Spam-Flag: NO
X-Spam-Score: 2.917
X-Spam-Level: **
X-Spam-Status: No, score=2.917 tests=[BASE64_LENGTH_79_INF=2.019, FROM_EXCESS_BASE64=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_BLOCKED=0.001, SPF_HELO_SOFTFAIL=0.896, SPF_PASS=-0.001] autolearn=disabled
Whilst opencart functions without this, it is annoying and doesn't give a professional customer experience.
Help!!!!! Thanks in advance.
A link to your site: https://auxibrain.com/products/index.ph ... uage=en-gb
Last edited by auxibrain on Mon Nov 25, 2024 12:52 am, edited 1 time in total.
Resolving this issue will require a thorough review of your mail server and email configuration, which may take some time to diagnose accurately. I’m available to assist, but please note that this would be a paid service. If you're interested, feel free to email me, and we can discuss the details further.
Got an urgent question that’s keeping you up at night? There might just be a magical inbox ready to help: khnaz35@gmail.com
Enjoy nature
For the BASE64_LENGTH_79_INF issue see https://github.com/opencart/opencart/pull/14007.
You may not have SPF and DKIM configured correctly. Use and online email deliverability checker to check this.
You may not have SPF and DKIM configured correctly. Use and online email deliverability checker to check this.
Thanks for this, did look at that link before, will give it another shot - I am not that clever and gave up first timeADD Creative wrote: ↑Mon Nov 11, 2024 11:04 pmFor the BASE64_LENGTH_79_INF issue see https://github.com/opencart/opencart/pull/14007.
You may not have SPF and DKIM configured correctly. Use and online email deliverability checker to check this.

Convinced it lies within opencart as mails from my mail server work.
Also used mxtoolbox.com to check email deliverability....
Said all OK. Did warn p value on DMARC should ideally be set to reject or quarantine. DMARC is "v=DMARC1; p=none;"
SPV is "v=spf1 mx a include:_spf.livemail.co.uk ~all" Tried hard stop of "-all", didn't work - but then I don't really know what I am doing.
If it reports that SPF and DKIM were correct for a email sent from direct from you OpenCart story then that should be OK. You could always test with www.mail-tester.com as well.
What mail settings are you using?
What mail settings are you using?
mail-tester.com threw something up, so that was a good call. I am using "MAIL" as the setting not smtp in opencart.ADD Creative wrote: ↑Tue Nov 12, 2024 2:44 amIf it reports that SPF and DKIM were correct for a email sent from direct from you OpenCart story then that should be OK. You could always test with www.mail-tester.com as well. What mail settings are you using?
"Your IP address 213.171.216.91 is associated with the domain smtp-out-sh.livemail.co.uk.
Nevertheless your message appears to be sent from dkim.livemail.co.uk.
You may want to change your pointer (PTR type) DNS record and the host name of your server to the same value.
Here are the tested values for this check:
IP: 213.171.216.91
HELO: dkim.livemail.co.uk
rDNS: smtp-out-sh.livemail.co.uk"
Of extra interest, the mail tester says
HTML version of email is "test me email" - that's what I wrote, but it says...
TEXT version of email is "This is a HTML email and your email client software does not support HTML email!" - the inbuilt open cart text...
Will check out how to correct the DNS record tomorrow, as well as trying that code out you sent earlier.
Thanks again, will keep you updated

There's some info about that here: https://www.antropy.co.uk/blog/emails-g ... kim-dmarc/
UK OpenCart Hosting | OpenCart Audits | OpenCart Support - please email info@antropy.co.uk
OK folks, fixed after a break at trying.... and understanding 
For the record, as people said - it was the 'classic' SMTP problem. Fixed with following settings for me (hope they help someone else)
Mail Engine: SMTP
Mail parameters: -f blah@blah.com (your email address)
Hostname: ssl://smtp.livemail.co.uk (your host SMTP outgoing mail server settings, with "ssl://" added, you could try "tls://" )
Password: xxxxxxx (your email password)
Port: 465 (your host port number)
Timeout: 5
So many many thanks to the Opencart experts - your help is very much appreciated by an "ancient times" man as my daughter describes me

For the record, as people said - it was the 'classic' SMTP problem. Fixed with following settings for me (hope they help someone else)
Mail Engine: SMTP
Mail parameters: -f blah@blah.com (your email address)
Hostname: ssl://smtp.livemail.co.uk (your host SMTP outgoing mail server settings, with "ssl://" added, you could try "tls://" )
Password: xxxxxxx (your email password)
Port: 465 (your host port number)
Timeout: 5
So many many thanks to the Opencart experts - your help is very much appreciated by an "ancient times" man as my daughter describes me

Thanks for sharing your solution with us.
Export/Import Tool * SpamBot Buster * Unused Images Manager * Instant Option Price Calculator * Number Option * Google Tag Manager * Survey Plus * OpenTwig
Who is online
Users browsing this forum: paulfeakins and 4 guests