I am trying to use PHPMailer to send e-mails over SMTP but so far have had no luck. I\'ve gone through a number of SO questions, PHPMailer tutorials and forum posts but stil
$mail->IsSMTP(); $mail->Host = "smtp.gmail.com"; $mail->SMTPAuth = true; $mail->SMTPSecure = "ssl"; $mail->Username = "myemail@gmail.com"; $mail->Password = "**********"; $mail->Port = "465";
That is a working configuration.
try to replace what you have