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

XF 1.4 Emailing

#1
Hello.
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?
 

Mike

XenForo developer
Staff member
#2
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.