XF 1.4 Emailing


Just today, i have moved from linux to windows, and i started to get this error:

Zend_Mail_Transport_Exception: Email to ****** failed: Unable to send mail. mail(): Failed to connect to mailserver at "localhost" port 25, verify your "SMTP" and "smtp_port" setting in php.ini or use ini_set() - library\Zend\Mail\Transport\Sendmail.php:137

I do not use the SMTP, i use the default mailing system, do you have any idea why is this happening?


XenForo developer
Staff member
On Windows, the PHP mail system does use SMTP. To use mail(), you need to configure the mentioned php.ini options or you can configure XF to use an SMTP server itself.