HEELLP!!!!! I can't get mail() to work!!

the mail() function

Moderators: egami, macek, gesf

Post Reply
johnj
php-forum Super User
php-forum Super User
Posts: 1803
Joined: Thu Mar 10, 2011 5:07 pm

Thu Sep 12, 2013 12:39 am

right after $email_status = mail(), add the following:
$error = error_get_last();
Now print this $error and see what is going wrong.

johnj
php-forum Super User
php-forum Super User
Posts: 1803
Joined: Thu Mar 10, 2011 5:07 pm

Sun Sep 15, 2013 5:52 am

above the "if", right after this line, $error = error_get_last();

Post Reply
  • Information
  • Who is online

    Users browsing this forum: No registered users and 1 guest