Kurt111780
Technical User
Hello, I just installed php, and smtp server on windows. I have a script that sends an email message but I keep getting the error.
Warning: mail(): Failed to connect to mailserver at "localhost" port 25, verify your "SMTP" and "smtp_port" setting in php.ini or use ini_set() in D:\myRoot\myFolder\myFile.php on line 149
Is this a problem with php setup or smtp server? How can I tell and what should I try?
Thanks,
Kurt
It's only easy when you know how.
Warning: mail(): Failed to connect to mailserver at "localhost" port 25, verify your "SMTP" and "smtp_port" setting in php.ini or use ini_set() in D:\myRoot\myFolder\myFile.php on line 149
Is this a problem with php setup or smtp server? How can I tell and what should I try?
Thanks,
Kurt
It's only easy when you know how.