Post by bradch00 » Tue Dec 03, 2019 12:46 pm

Opencart 3.0.2 everything has been running ok up to today. I am sure the hosting service changed something. Now, the customer still gets an email, but there is no email notification to the "owner/user" defined in System>Settings>Mail. The user is defined as is the password. Port 25 is blocked so I changed the port to 2525, the email server hostname is configured.
Has anyone experienced where customer emails are sent out but notification email to the Opencart admin are not received. Do both processes us system/library/mail/mail.php?

Newbie

Posts

Joined
Sat Apr 26, 2014 12:18 pm

Post by tingwing » Tue Dec 03, 2019 2:53 pm

recommend using smtp
SMTP Host: smtp.gmail.com
(try without first or: ssl://smtp.gmail.com or tls:// smtp.gmail.com)

SMTP Username: myemail@gmail.com
(try with: @googlemail)

SMTP Password: p333&&^w000rd

SMTP Port: 465 (465=SSL // 587=TLS // 25=standard)

my extension:https://www.opencart.com/index.php?rout ... estshop24h
email :support@bestshop24h.com
site:http://www.bestshop24h.com


Active Member

Posts

Joined
Tue Aug 02, 2016 9:01 pm

Post by sw!tch » Tue Dec 03, 2019 3:23 pm

On a default install the same mail class is used, but it uses events for some mail functions.

Did you mess with the events in opencart? Might want to check that mail_order_alert event exists.

Maybe your host or mail provider enabled rate limiting on max outgoing mail. Seems odd if the customer gets the order email, but the admin does not. My guess is there is some rate limiting that was turned on by your host to prevent spam.

Backup and learn how to recover before you make any changes!


Active Member

Posts

Joined
Sat Apr 28, 2012 2:32 pm

Post by bradch00 » Tue Dec 03, 2019 3:50 pm

Thanks for the input. This actually started overnight, so no I wasn’t even awake. :)
Definitely something that has been changed on the hosting side. At first it looked like port 25 was blocked so I changed the configuration to 2525. That perhaps got the customer email going out. Since the notification is essentially to the same host (localhost) it has to be something changed in either php, smtp or some other acronym I am not versed in.

Newbie

Posts

Joined
Sat Apr 26, 2014 12:18 pm

Post by paulfeakins » Tue Dec 03, 2019 9:01 pm

bradch00 wrote:
Tue Dec 03, 2019 3:50 pm
Definitely something that has been changed on the hosting side.
Submit a ticket to your host.

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

Post by letxobnav » Tue Dec 03, 2019 9:30 pm

All depends on your mail server and what engine you are using.
All mail uses the same mail settings.
Unless you own the mail server, arbitrarily changing the port is futile if the mail server is not listening on it.
And there is no "notification is essentially to the same host (localhost)", mail is send to a mail server for processing, no matter what the destination, not your local host unless, again, you run your own.

Did you verify if your customers got their emails?
The OC implementation of php mail will not provide any error message if mail sending fails, it is just a black hole.

Crystal Light Centrum Taiwan
Extensions: MailQueue | SUKHR | VBoces

“Data security is paramount at [...], and we are committed to protecting the privacy of anyone who is associated with our [...]. We’ve made a lot of improvements and will continue to make them.”
When you know your life savings are gone.


User avatar
Expert Member

Posts

Joined
Fri Aug 18, 2017 4:35 pm
Location - Taiwan

Post by bradch00 » Tue Dec 03, 2019 11:40 pm

I have verified customer email by creating new email addresses, login as both guest and registered customer and creating orders. I received email from opencart and the pay card processor. The opencart admin did not receive an email. They received one from the payment processor but not opencart. I see error message, PHP Warning: mail(): SMTP server response: 550 This mail server requires authentication (1) when attempting to send via this SMTP (submission) port. in D:\Inetpub\vhosts\oldislandstamps.com\httpdocs\system\library\mail\mail.php on line 77
I do have the user name and password define for email in OC.

Newbie

Posts

Joined
Sat Apr 26, 2014 12:18 pm

Post by letxobnav » Wed Dec 04, 2019 5:12 am

might be that your host has SMTP Restriction Tweak enabled (used for preventing outgoing spam), better contact them first.

Crystal Light Centrum Taiwan
Extensions: MailQueue | SUKHR | VBoces

“Data security is paramount at [...], and we are committed to protecting the privacy of anyone who is associated with our [...]. We’ve made a lot of improvements and will continue to make them.”
When you know your life savings are gone.


User avatar
Expert Member

Posts

Joined
Fri Aug 18, 2017 4:35 pm
Location - Taiwan
Who is online

Users browsing this forum: No registered users and 16 guests