yandreiy Posted January 22, 2009 Share Posted January 22, 2009 Warning: mail() [function.mail]: Failed to connect to mailserver at "localhost" port 25, verify your "SMTP" and "smtp_port" setting in php.ini or use ini_set() what to do ? Quote Link to comment https://forums.phpfreaks.com/topic/141993-mail-function-problem/ Share on other sites More sharing options...
PFMaBiSmAd Posted January 22, 2009 Share Posted January 22, 2009 Did you verify your "SMTP" and "smtp_port" setting like the error message states? Do you have a mail server running on localhost, listening to port 25? Quote Link to comment https://forums.phpfreaks.com/topic/141993-mail-function-problem/#findComment-743492 Share on other sites More sharing options...
DeanWhitehouse Posted January 22, 2009 Share Posted January 22, 2009 Are you in any way using ini_set and changing the SMTP settings ? Quote Link to comment https://forums.phpfreaks.com/topic/141993-mail-function-problem/#findComment-743498 Share on other sites More sharing options...
yandreiy Posted January 22, 2009 Author Share Posted January 22, 2009 I don't believe i have a mail server...How do i get it ? Quote Link to comment https://forums.phpfreaks.com/topic/141993-mail-function-problem/#findComment-743503 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.