Post by auxibrain » Mon Nov 11, 2024 6:46 pm

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
Last edited by auxibrain on Mon Nov 25, 2024 12:52 am, edited 1 time in total.

Newbie

Posts

Joined
Thu Mar 07, 2024 5:38 am

Post by khnaz35 » Mon Nov 11, 2024 7:56 pm

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 ;) :) :-*


User avatar
Active Member

Posts

Joined
Mon Aug 27, 2018 11:30 pm
Location - Malaysia

Post by ADD Creative » Mon Nov 11, 2024 11:04 pm

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.

www.add-creative.co.uk


Guru Member

Posts

Joined
Sat Jan 14, 2012 1:02 am
Location - United Kingdom

Post by auxibrain » Tue Nov 12, 2024 1:20 am

ADD Creative wrote:
Mon Nov 11, 2024 11:04 pm
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.
Thanks for this, did look at that link before, will give it another shot - I am not that clever and gave up first time :)

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.

Newbie

Posts

Joined
Thu Mar 07, 2024 5:38 am

Post by ADD Creative » Tue Nov 12, 2024 2:44 am

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?

www.add-creative.co.uk


Guru Member

Posts

Joined
Sat Jan 14, 2012 1:02 am
Location - United Kingdom

Post by auxibrain » Tue Nov 12, 2024 7:14 am

ADD Creative wrote:
Tue Nov 12, 2024 2:44 am
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?
mail-tester.com threw something up, so that was a good call. I am using "MAIL" as the setting not smtp in opencart.

"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 :)

Newbie

Posts

Joined
Thu Mar 07, 2024 5:38 am

Post by paulfeakins » Tue Nov 12, 2024 8:50 pm

ADD Creative wrote:
Mon Nov 11, 2024 11:04 pm
You may not have SPF and DKIM configured correctly.
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


User avatar
Legendary Member
Online

Posts

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

Post by auxibrain » Mon Nov 25, 2024 12:47 am

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 :)

Newbie

Posts

Joined
Thu Mar 07, 2024 5:38 am

User avatar
Guru Member
Online

Posts

Joined
Wed Dec 05, 2007 3:38 am

Who is online

Users browsing this forum: paulfeakins and 4 guests