Page 1 of 1

Store Emails Not Sending - SMTP timeout

Posted: Fri Jul 02, 2010 11:55 am
by hamishpalmer
Nearly had a mini-meltdown yesterday trying to figure out why my Open Cart store was not sending the notification emails to customers and site admins - using Open Cart 1.4.8b.

Basically to cut a long story short I spent hours reading through fixes (old and new) trying to gauge where the issue was. I replaced lines of code, and repeated test after test purchase without luck. I even installed Open Cart from scratch hoping I had messed something up, but still no dice. The mail function was not working, but not giving any error messages, whilst the SMTP function was giving a timeout error.

However once I changed the SMTP host from "mail.myserver.com" to "localhost" the mail started working correctly. Not saying this is Open Cart's issue, and I could have missed something easy in the forums, but I did spend hours trying things like IP addresses and playing with the server config. The PHP mail function still does not work, but not that worried now that I have settings that work correctly :)

Re: Store Emails Not Sending - SMTP timeout

Posted: Fri Jul 02, 2010 11:38 pm
by danlanphear
Wow. I gotta try that. Nobody seems to have any other suggestions for my same problem.

http://forum.opencart.com/viewtopic.php ... 596#p81312

Re: Store Emails Not Sending - SMTP timeout

Posted: Fri Jul 02, 2010 11:46 pm
by danlanphear
danlanphear wrote:Wow. I gotta try that. Nobody seems to have any other suggestions for my same problem.

http://forum.opencart.com/viewtopic.php ... 596#p81312
Still not working with that either. Where were you finding the timeout error?

Re: Store Emails Not Sending - SMTP timeout

Posted: Fri Jul 09, 2010 7:06 pm
by hamishpalmer
Hi There... It was when I completed the checkout process, and submitting the contact form. Would just sit there for a while then eventually throw up the timeout error - never even considered using localhost, but it worked perfectly. The actual PHP mail still does not work, but I cant be bothered trying to work that out now SMTP is working :)

Re: Store Emails Not Sending - SMTP timeout

Posted: Wed Sep 01, 2010 5:59 am
by paul01
Wow.. I've looking for the solutions for centuries to fix this issue up and your simple tip worked like charm. But it sound strange that to make it working you need to put "localhost" instead of real SMTP host name.

Anyway ..thankyou

Re: Store Emails Not Sending - SMTP timeout

Posted: Tue Nov 30, 2010 1:37 am
by scr33ky
hy guys ... same problem here NONE of the methodes i found worked for me ,my host is using Cpanel WHM .. the one everybody is customed to ... esspecially the mail server is not working at all with opencart however my other account that has "direct admin " cpanel this one handles the email flow nice .. no problems so i talked to my host to move my account on a "direct admin " cpanel ... i will see what happens and give you guys a response as quick as i can

Re: Store Emails Not Sending - SMTP timeout

Posted: Sun Mar 03, 2013 11:02 pm
by artebit
Hi,

You may find a solution to a similar issue here:

http://forum.opencart.com/viewtopic.php ... 9&p=387112