Post by misiny » Mon Dec 07, 2020 9:38 pm

dears please I have an urgent problem
all mails from Opencart 3.0.3.2 not send to the users or admin (register - forgotten password - order details ,,,,,, etc) it is not giving any errors but it is not delivered at all
the only mails that delivered when I go to marketing > mail > all subscribers and send any mails all registered users receive that mail successfully
I attach a pic from my mail server configuration also from the mail I got when I send to all subscribers from marketing

Attachments

Screen Shot 2020-12-07 at 3.37.38 PM.png

Screen Shot 2020-12-07 at 3.37.38 PM.png (1.03 MiB) Viewed 10365 times

Screen Shot 2020-12-07 at 3.16.44 PM.png

Screen Shot 2020-12-07 at 3.16.44 PM.png (873.29 KiB) Viewed 10365 times


Newbie

Posts

Joined
Thu Aug 16, 2018 7:56 pm

Post by sw!tch » Tue Dec 08, 2020 5:11 am

marketing and contact are the only mail features that don't rely on events.

Was this an upgrade?

Admin->Extensions -> Events

Do you see event named mail_forgotten ? If not you are probably missing required events.

If you do then ensure all events prefixed with mail_ are enabled.

Full Stack Web Developer :: Send a PM for Custom Work.
Backup and learn how to recover before you make any changes!


Active Member

Posts

Joined
Sat Apr 28, 2012 2:32 pm

Post by misiny » Tue Dec 08, 2020 1:38 pm

Many thanks dear

All mails in events are there and all enabled but the mails are not working not send to the users or admin any chance how to solve or how to replace the required files of events and try I Mena which files should be replaced?

Newbie

Posts

Joined
Thu Aug 16, 2018 7:56 pm

Post by sw!tch » Tue Dec 08, 2020 2:03 pm

How many events do you have in total?

Full Stack Web Developer :: Send a PM for Custom Work.
Backup and learn how to recover before you make any changes!


Active Member

Posts

Joined
Sat Apr 28, 2012 2:32 pm

Post by misiny » Tue Dec 08, 2020 6:51 pm

I have 49 event in total also I attach an image

Newbie

Posts

Joined
Thu Aug 16, 2018 7:56 pm

Post by misiny » Tue Dec 08, 2020 6:58 pm

please check the below image

Attachments

Screen Shot 2020-12-08 at 12.50.28 PM.png

Screen Shot 2020-12-08 at 12.50.28 PM.png (993.82 KiB) Viewed 10244 times


Newbie

Posts

Joined
Thu Aug 16, 2018 7:56 pm

Post by sw!tch » Wed Dec 09, 2020 6:23 am

Contact your hosting provider and ensure you have the proper SPF / DKIM records added for your email address.

Full Stack Web Developer :: Send a PM for Custom Work.
Backup and learn how to recover before you make any changes!


Active Member

Posts

Joined
Sat Apr 28, 2012 2:32 pm

Post by misiny » Sun Dec 13, 2020 7:21 pm

many thanks dear
I back to godaddy and they was blocking all mails due to links inside the mails the system consider it spam or virus and they whitlelist it and working fine now

Newbie

Posts

Joined
Thu Aug 16, 2018 7:56 pm

Post by Rod2k » Fri Dec 18, 2020 11:08 pm

I know the feeling, Godaddy is the worst email provider, many spammers use their services, what I did (and work flawlessly) is use the Amazon Service
https://aws.amazon.com/ses/ to push my notifications

Basically they give you a SMTP Server with steroids to push over 50,000 emails / day, more than enough in my case, in opencart just use the settings that AWS give to you and that's it, no more spam issues

Newbie

Posts

Joined
Tue Oct 01, 2019 8:11 pm

Post by garbinmarcelo » Wed Jan 20, 2021 8:05 pm

Rod2k wrote:
Fri Dec 18, 2020 11:08 pm
I know the feeling, Godaddy is the worst email provider, many spammers use their services, what I did (and work flawlessly) is use the Amazon Service
https://aws.amazon.com/ses/ to push my notifications

Basically they give you a SMTP Server with steroids to push over 50,000 emails / day, more than enough in my case, in opencart just use the settings that AWS give to you and that's it, no more spam issues
Hi, could you help me? What settings are you using to make AWS SES work seamlessly with OC? I tried to do the basic configuration but what returns to me in mail.log is "The SMTP server has refused the sender's email!", nothing more.

Newbie

Posts

Joined
Wed Jan 20, 2021 7:49 pm

Post by ADD Creative » Wed Jan 20, 2021 8:37 pm

garbinmarcelo wrote:
Wed Jan 20, 2021 8:05 pm
Hi, could you help me? What settings are you using to make AWS SES work seamlessly with OC? I tried to do the basic configuration but what returns to me in mail.log is "The SMTP server has refused the sender's email!", nothing more.
If you are getting the error in your mail log and nothing in your OpenCart or PHP error logs, then that looks more like a server issue. You could ask your host about the errors and if they have any restrictions.

www.add-creative.co.uk


Guru Member

Posts

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

Post by garbinmarcelo » Wed Jan 20, 2021 9:04 pm

ADD Creative wrote:
Wed Jan 20, 2021 8:37 pm
If you are getting the error in your mail log and nothing in your OpenCart or PHP error logs, then that looks more like a server issue. You could ask your host about the errors and if they have any restrictions.
Yes it is only in the mail.log that I checked this error. Where can I check if I find other errors (log) about this? or what tests I could do...

The server is an EC2, I use CloudFlare to manage DNS, everything else works fine.
Strange that using SMTP from a shared email server it works, only with SES that does not.

p.s .: SES is active for production and the domain has been verified as well.

Newbie

Posts

Joined
Wed Jan 20, 2021 7:49 pm

Post by ADD Creative » Wed Jan 20, 2021 10:03 pm

The OpenCart error log can be viewed in the admin or at storage/logs/error.log. The PHP error log can sometimes be found as a file called error_log in your OpenCart and admin directories. It could also be in a logs directory. If you can't find them use phpinfo and look for the error_log path.

www.add-creative.co.uk


Guru Member

Posts

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

Post by garbinmarcelo » Wed Jan 20, 2021 10:15 pm

ADD Creative wrote:
Wed Jan 20, 2021 10:03 pm
The OpenCart error log can be viewed in the admin or at storage/logs/error.log. The PHP error log can sometimes be found as a file called error_log in your OpenCart and admin directories. It could also be in a logs directory. If you can't find them use phpinfo and look for the error_log path.
Okay, so I checked the error.log file shows the following:

Code: Select all

19-01-2021 15:23:29 - PHP Warning:  fsockopen(): unable to connect to ssl://email-smtp.sa-east-1.amazonaws.com:587 (Unknown error) in /var/www/storage/modification/system/library/mail/smtp.php on line 104
However, this was only due to the fact that trying to use ssl in the 587 package, on port 465 does not present this error in this log. And when used in the tls:// case.

Very strange that.

Newbie

Posts

Joined
Wed Jan 20, 2021 7:49 pm

Post by ADD Creative » Wed Jan 20, 2021 10:46 pm

You would expect that error if you tried to use the ssl:// prefix on port 587, which is an invalid combination. Just use the ssl:// prefix on port 465 or the tls:// prefix on port 587.

The error "The SMTP server has refused the sender's email!". is not that helpful as it doesn't give a reason or make it clear which SMTP server, yours or the receivers.

If it's yours. It could be incorrect credentials, from address not matching those allowed by by the SMTP account, sending server blocked in some way such as by IP address or something in the email headers or content that is generating a false positive for spam detection.

If it referrers to the receiver. It could be bad DNS, no reverse DNS, IP reputation / block, no SPF record, no DKIM signature or something in the email headers or content that is generating a false positive for spam detection.

There are a few free online checker that you can use to check for some of the above. Also once you can send mail use a online email deliverybilty checker.

www.add-creative.co.uk


Guru Member

Posts

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

Users browsing this forum: Bing [Bot], Majestic-12 [Bot] and 31 guests