How do you setup a server to provide the mail function ??
aijazasoomro said:Hi dear i am trying to use main function so i get this error so please tell me the solution
Warning: mail() [function.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:\apache\htdocs\ch25\sendmail.php on line 3
Message Sent! Back to menu
I will be thank ful for this act of kindness