• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

XF 1.4 Server Error Logs - "Unable to send mail"

Valhalla

Well-known member
#1
I recieved two similar messages in my Server Error Logs, sent within a few minutes of one another, and I'm wondering whether I can safely ignore them. I haven't had any similar messages since, nor prior to these two.

Zend_Mail_Transport_Exception: Email to <snip> failed: Unable to send mail. mail(): Failed to connect to mailserver at &quot;localhost&quot; port 25, verify your &quot;SMTP&quot; and &quot;smtp_port&quot; setting in php.ini or use ini_set() - library\Zend\Mail\Transport\Sendmail.php:137
Generated By: Unknown Account, Today at 12:18 AM
Zend_Mail_Transport_Exception: Email to <snip> failed: Unable to send mail. mail(): Failed to connect to mailserver at &quot;localhost&quot; port 25, verify your &quot;SMTP&quot; and &quot;smtp_port&quot; setting in php.ini or use ini_set() - library\Zend\Mail\Transport\Sendmail.php:137
Generated By: Unknown Account, Today at 12:20 AM
Thanks,
 

Brogan

XenForo moderator
Staff member
#2
If it's just a one off then it was likely due to a glitch or temporary failure.

If it happens frequently then you may want to contact your host and ask them to investigate.