problem php mailer

the mail() function

Moderators: macek, egami, gesf

Post Reply
User avatar
ejsexton82
New php-forum User
New php-forum User
Posts: 86
Joined: Mon Jun 04, 2012 10:05 pm
Location: Ankara, Turkey
Contact:

Re: problem php mailer

Post by ejsexton82 » Fri Jun 15, 2012 2:35 am

The PHPMailer Error Message would be useful. Try changing your code to this, resubmitting, and noting the error that is displayed:

Code: Select all

if(!$mail->Send()){   
    echo "Errore Mail: " . $mail->ErrorInfo; 
} else {   
    echo "Mail inviata con successo";
}

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest