mail() function error

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 ...


Go Back   Usenet Forums > PHP Programming Forums > PHP Language

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 01-08-2006
chris.huh
 
Posts: n/a
Default 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.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?

Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT +1. The time now is 12:02 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0