<?php
mail ("sujithamurthy@yahoo.com", "Subject fun", "message");
?>
This code gives me the followin warning
Warning: Failed to Connect in C:\sujitha\email.php on line 2.
I checked my php.ini-optimized, it has the following details
[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')
What is wrong here, why doesn't it work?.
Any help is greatly appreciated.
Thanks.