Well, I am able to send mail using other programs like Outlook Express etc.
I am trying to use mail() function of php to send the mail :
mail($to,$subject,$message);
It gives me the error message :
" Failed to Connect in c:\program files\apache group\apache\htdocs\mail1.php on line 2."
My ini setting of php.ini is this :
[mail function]
SMTP=localhost ;for win32 only
sendmail_from=me@localhost.com ;for win32 only
;sendmail_path= ;for unix only, may supply arguments as well (default is 'sendmail -t -i')
Please help me out and let me know what is wrong.
Thanks in advance.