Not able to send email

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:\xampp\htdocs\aliens\report.php on line 30

can someone please tell me how to solve this problem.

well we don’t see your coding so there is nothing that we can tell you. We cannot just waste time taking stabs at the dark about what could be wrong, if you post your code we might be able to see an error that is causing it, or you could contact your host server company and ask them for the correct setting for your email.

Sponsor our Newsletter | Privacy Policy | Terms of Service