thepales Posted August 19, 2011 Share Posted August 19, 2011 I have a basic mail script (with the standard mail function: mal() ) that I use for a confirmation email (in a users sign up form). The form and the mail is almost always successfully submitted. Although every once in a while, I get the following 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() BTW, the users input is succesfully inserted into the database; but he never recieves the confirmation mail.... Link to comment https://forums.phpfreaks.com/topic/245235-php-mail-problem/ Share on other sites More sharing options...
trq Posted August 20, 2011 Share Posted August 20, 2011 You do have an smtp server installed? Link to comment https://forums.phpfreaks.com/topic/245235-php-mail-problem/#findComment-1259696 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.