Post by rocketfoot » Tue Nov 15, 2022 11:21 pm

I have been testing my front side and I find that I am not receiving customer order notification emails! I seem to get everything else such as forgot password, and order history updates...but no order confirmations. The admin emails are arriving OK as well. Can anyone give me some guidance? I have no idea why this is happening!

It is on the 3.0.3.8 site
Last edited by rocketfoot on Mon Nov 21, 2022 9:48 pm, edited 1 time in total.

OpenCart 3.0.3.8
www.wattstruckcenter.com/shop


User avatar
Active Member

Posts

Joined
Fri Nov 15, 2013 10:47 pm

Post by ADD Creative » Tue Nov 15, 2022 11:38 pm

What PHP version and mail settings are you using?

Check the mail_order_add event is enabled in Extensions -> Events.
Check both your OpenCart and PHP error log for anything that could be related.
Check you mail logs to see if the email is reaching your mail server (under cPanel look at Track Delivery).

Use an online email deliverability checker such as mail-tester.com. You will need to place a test order using the temporary email.

www.add-creative.co.uk


Guru Member

Posts

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

Post by rocketfoot » Tue Nov 15, 2022 11:54 pm

I am currently on PHP 7.4

I am using the MAIL setting and all server mail is going through Google Workspaces.

OpenCart 3.0.3.8
www.wattstruckcenter.com/shop


User avatar
Active Member

Posts

Joined
Fri Nov 15, 2013 10:47 pm

Post by rocketfoot » Wed Nov 16, 2022 12:11 am

I found a bunch of these errors in my cPanel Delivery Tracking:

message has lines too long for transport

Could that be of interest?

OpenCart 3.0.3.8
www.wattstruckcenter.com/shop


User avatar
Active Member

Posts

Joined
Fri Nov 15, 2013 10:47 pm

Post by ADD Creative » Wed Nov 16, 2022 2:26 am

Yes, means it probably this issue.
https://github.com/opencart/opencart/pull/10269

You could just use the latest mail.php from the maintenance branch.
https://github.com/opencart/opencart/bl ... l/mail.php

www.add-creative.co.uk


Guru Member

Posts

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

Post by rocketfoot » Wed Nov 16, 2022 2:48 am

ADD Creative wrote:
Wed Nov 16, 2022 2:26 am
Yes, means it probably this issue.
https://github.com/opencart/opencart/pull/10269

You could just use the latest mail.php from the maintenance branch.
https://github.com/opencart/opencart/bl ... l/mail.php
It looks like the mail.php file from git hub fixed the issue!

Thank you!! I've been Googling this for half a day and this file fixed it in like 1 minute...LOL! Thanks again!!

OpenCart 3.0.3.8
www.wattstruckcenter.com/shop


User avatar
Active Member

Posts

Joined
Fri Nov 15, 2013 10:47 pm

Post by paulfeakins » Wed Nov 16, 2022 6:07 pm

rocketfoot wrote:
Wed Nov 16, 2022 2:48 am
this file fixed it in like 1 minute...
Great, so please add [SOLVED] to the start of this post title.

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 radact » Sat Jul 06, 2024 9:17 am

I have a fix for OC 2.3.02 as well.
Just upload this to your vqmod/xml folder and it will create a random message-id in the email header.

https://www.opencart.com/index.php?rout ... n_id=46232

New member

Posts

Joined
Fri Nov 25, 2016 11:36 am
Who is online

Users browsing this forum: No registered users and 11 guests