This is a discussion on mail() function error within the PHP Language forums, part of the PHP Programming Forums category; I have setup Apache and PHP on my local machine as a testing server. So to test the mail() function ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
I have setup Apache and PHP on my local machine as a testing server. So
to test the mail() function i have set the SMTP_host thing in php.ini to what i think is the hotmail SMTP server. Whenever i try to use the mail() function it comes back with this warning: Warning: mail() [function.mail]: Failed to connect to mailserver at "http://services.msn.com/svcs/hotmail/httpmail.asp" port 25, verify your "SMTP" and "smtp_port" setting in php.ini or use ini_set() I got that SMTP address for hotmail from Outlook so i am sure it should be working. What am i doing wrong? |