I have windows xp pc and i have installed apache as a web server and
php also working fine, but when i am sending mail, its giving me
following error
when upload same to linux live server its working, please help me what
do i have to do for this
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 C:\Safras\WebHosting\netoffice.cybersoft.lk\functi ons.php
on line 377
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 C:\Safras\WebHosting\netoffice.cybersoft.lk\functi ons.php
on line 377
done
LINE 377
mail("$MYFULLEMAIL", "$MYSUBJECT", "$MYBODY", $MYHEADERS);