hello
halojoy here
<?php
echo "<html><body>";
mail ("p.tamilselvan@gmail.com", "Subject", "Hello!");
echo "Sending mail...";
echo "</body></html>";
?>
ERROR:
Warning: mail():
Failed to connect to mailserver at "localhost" port 25,
verify your "SMTP" and "smtp_port" setting
in php.ini or use ini_set()
in d:\easyphp\www\mail_test.php on line 3
you should check your port 25 is open in firewall
for outgoing SMTP mail service
but usually it is
Is it Windows XP you have ?
I think you can try:
in php.ini
[mail function]
; for Win32
SMTP = localhost
smtp_port = 25
; here you should use mail of your web provider
sendmail_from = tamilselvan@danasoft.com
I am not 100% sure
but anyway, try