mail failure

Avatar
  • Answered
I have a site the uses an external smtp server (smtpout.secureserver.net) to send email. It has worked fine until 6/29. Now, I'm not getting email from submissions on my site. A look at my error log shows generally why:

[29-Jun-2012 19:38:41] PHP Fatal error: Uncaught exception 'phpmailerException' with message 'SMTP Error: Could not connect to SMTP host.' in /home/master59/php_exe/PHPMailer_5.2.1/class.phpmailer.php:912

Since I have changed nothing on my site recently, and I can still reach/use my smtp server from other computers, I assume there has been a change or problem with your server setup. Can you help me troubleshoot this?

thnx.
Avatar
Scott
Hello darby,

No changes were made on our server here, but I did check into your files and see that the port used by SMTP is 25. You should try changing that port to 587. Port 25 used to be the default port, but it is increasingly being blocked by different ISPs and servers for spam prevention. Eventually it will not be used very often at all.

Without being able to test a specific account with username, password, and port, my guess is that this is the case.

I hope this answers your question. If you have any more questions or information specific to the issue please leave a comment below so we can further assist you.

Best Regards,
Scott M