php mailer not working

the mail() function

Moderators: macek, egami, gesf

Post Reply
User avatar
php-forum GURU
php-forum GURU
Posts: 2196
Joined: Wed Oct 06, 2010 11:19 am
Location: Happy Valley, UT

Re: php mailer not working

Post by egami » Mon Apr 09, 2012 4:31 am

try this..

if (mail($email,$subject,$message)) {
do this..
} else {
echo "ERROR! Check your error log file.";

// This might be in /var/log/maillog or also in /var/log/http/error_log
// You may also want to turn on HTTP error reporting..


Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest