I am designing a signup format in which on signup,the user is sent his/her password through the email.I have tried but am getting this error 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:\xampp\htdocs\Project\signup.php on line 110.