I need help please this is my code:
require \'PHPMailerAutoload.php\'; $mail = new PHPMailer; $mail->isSMTP(); $mail->Host = \"smtp.gmail.com\"; $mail-
This worked for me:
change:
$mail->SMTPSecure = 'ssl'; $mail->Host = 'smtp.gmail.com'; $mail->Port = '465';
to
$mail->SMTPSecure = 'tls'; $mail->Host = 'smtp.gmail.com'; $mail->Port = '587';