mail() function error

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • chris.huh

    #1

    mail() function error

    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.co m/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?

Working...