byte_eater
09-09-2006, 06:50 AM
Hello!
How to test if the mail function works, on the local machine...?
I get this warning, when trying to send mail to yahoo or another mail:
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() in D:\web\home\moldova-hotels.site\www\book.php on line 181
Is there any way to test if the function works, before uploading it to a real server? I have Apache on my machine...
Thanks!
How to test if the mail function works, on the local machine...?
I get this warning, when trying to send mail to yahoo or another mail:
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() in D:\web\home\moldova-hotels.site\www\book.php on line 181
Is there any way to test if the function works, before uploading it to a real server? I have Apache on my machine...
Thanks!