Post by tastiertreats » Fri May 03, 2019 4:10 am

Can anyone give me any information regarding emails on opencart 3.0.3.2, for some reason no emails are getting sent to the customer. or to the admins email address.
I have made sure the email server is set up correctly and I have also tried importing the oc_events from a brand new database into my website database to make sure all entries are there. I have also checked Catalog > Events to make sure there is sufficient items in there. it seems everything is ok, but the emails are not sending. does anyone have any suggestions please.
Last edited by tastiertreats on Fri May 03, 2019 3:42 pm, edited 1 time in total.

Newbie

Posts

Joined
Sun Apr 28, 2019 7:58 pm

Post by Peter Dooley » Fri May 03, 2019 12:09 pm

Are you getting any error messages?

Please also post your full email setup credentials (except for your password) ie. SMTP hostname, SMTP username, SMTP port etc

See also my post below

viewtopic.php?f=202&t=211516

New member

Posts

Joined
Fri Apr 05, 2019 2:40 pm

Post by tastiertreats » Fri May 03, 2019 2:32 pm

Many thanks for the reply, I have attached the settings that I am using. and also the settings for 1and1ions which correspond to the settings I believe I should be using.
https://imgshare.io/image/NdNtY
https://imgshare.io/image/Nd6m4

I am just about to have a look at the post you referred too, thanks :)
Last edited by tastiertreats on Fri May 03, 2019 3:43 pm, edited 1 time in total.

Newbie

Posts

Joined
Sun Apr 28, 2019 7:58 pm

Post by Peter Dooley » Fri May 03, 2019 2:58 pm

Okay. Firstly you are using SMTP credentials but have not selected 'SMTP' in the Mail Engine box. Should be set to SMTP

Then your SMTP hostname appears to be incorrect. Try setting to mail.tastiertreatsdover.co.uk
The Outgoing Server(SMTP) is not the same as the SMTP host name. It is very confusing and this is where my biggest problem lay too after I had reset my whole system.

All the other settings appear to okay. Perhaps you also need to just add the TLS option as I noticed from your screen grab that it is required

Then, if that does not work, you need to check that your email support@tastiertreatsdover.co.uk is actually working. To do this, firstly, insert your email into your store thus:- System/Settings/Stores/ then click on the Store tab and insert your email address into your store namely: support@tastiertreatsdover.co.uk
Then go to Marketing and send a test marketing message. You should get a response via your website email forwarder that you have setup on your web hosting cPanel

If that works, then create an order and try sending via the SMTP protocol that you have set.

If you get an error message after all of that has been correctly setup, then try increasing the SMTP timeout to 20 or 30 seconds to give the server time to respond as sometimes the response may be too slow and that will create all kinds of errors

Good luck, hope that works

New member

Posts

Joined
Fri Apr 05, 2019 2:40 pm

Post by tastiertreats » Fri May 03, 2019 3:41 pm

Thank you very much for your assistance. Using the settings you provided the mail service has now been fixed. Just in case anyone else gets a problem and wishes to look at this thread I have attached an image of the settings that I am now using.

http://imgshare.io/images/2019/05/03/Fixed.png

Newbie

Posts

Joined
Sun Apr 28, 2019 7:58 pm

Post by paulfeakins » Fri May 03, 2019 6:35 pm

tastiertreats wrote:
Fri May 03, 2019 3:41 pm
Thank you very much for your assistance. Using the settings you provided the mail service has now been fixed. Just in case anyone else gets a problem and wishes to look at this thread I have attached an image of the settings that I am now using.

http://imgshare.io/images/2019/05/03/Fixed.png
As above, if you have selected "Mail" then the SMTP settings below will have no effect.

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 tastiertreats » Sat May 04, 2019 1:46 am

paulfeakins wrote:
Fri May 03, 2019 6:35 pm
tastiertreats wrote:
Fri May 03, 2019 3:41 pm
Thank you very much for your

assistance. Using the settings you provided the mail service has now been fixed. Just in case anyone else
gets a problem and wishes to look at this thread I have attached an image of the settings that I am now using.

http://imgshare.io/images/2019/05/03/Fixed.png
As above, if you have selected "Mail" then the SMTP settings below will have no effect.
Silly me ;) still very new to using any sort of platform to build websites / shops. I am very much used to creating simple websites for things like personal blogs, or displaying images (like an online art gallery) using HTML codes and CSS themes. You learn something new every day. Hopefully this issue will help others see the mistake I made, and be able to fix their problems.

Newbie

Posts

Joined
Sun Apr 28, 2019 7:58 pm

Post by ryan2k » Fri Oct 25, 2019 9:17 pm

Hello all,

I was able to get my mail setting under SMTP with blank parameter like the attachment before a server crash. Could some one please attach a mail.php and smtp.php configure file that working under Smtp setting so i can compare to my database. Thank you. Originally, I was able to recover all database from the old server to new one and everything works accept my mail working with the same setting and configure like the previous one. I have tried -f options and also check my store address email and also did configure smtp_username inside smtp.php . I tried port 587 and also 465 for ssl as well. I really hope to this point that both my mail.php and stmp.php might be misconfigured. Please share

Attachments

Screen Shot 2019-10-25 at 8.08.22 AM.png

Screen Shot 2019-10-25 at 8.08.22 AM.png (33.41 KiB) Viewed 13313 times


Newbie

Posts

Joined
Fri Oct 25, 2019 9:03 pm

Post by letxobnav » Sat Oct 26, 2019 9:37 am

your settings depend on your mail server.
Some accept smtp over port 25, some do not and require port 587 with authentication.

So there are no universal mail settings.

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 anjalis9897 » Thu Sep 08, 2022 8:23 pm

Can anyone give me any information regarding emails on opencart 3.0.3.8, for some reason no emails are getting sent to the customer. or to the admins email address.
I have made sure the email server is set up correctly
does anyone have any suggestions please.

Newbie

Posts

Joined
Fri Jul 01, 2022 7:28 pm

Post by ADD Creative » Fri Sep 09, 2022 12:04 am

anjalis9897 wrote:
Thu Sep 08, 2022 8:23 pm
Can anyone give me any information regarding emails on opencart 3.0.3.8, for some reason no emails are getting sent to the customer. or to the admins email address.
I have made sure the email server is set up correctly
does anyone have any suggestions please.
What version of PHP? Do you have Mail or SMTP set as the Mail Engine? What other settings are you using? Have you checked both the PHP and OpenCart error logs? Have you checked your mail server logs to see the emails are reaching it?

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: ianhaney50 and 15 guests