Advertisement
Guest User

Untitled

a guest
May 30th, 2016
93
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.32 KB | None | 0 0
  1. SMTP Error: Could not authenticate. Message could not be sent.
  2.  
  3. global $error;
  4. $mail = new PHPMailer();
  5. $mail->IsSMTP();
  6. $mail->SMTPDebug = 0;
  7. $mail->SMTPAuth = true;
  8. $mail->SMTPSecure = 'ssl';
  9. $mail->Host = 'smtp.gmail.com';
  10. $mail->Port = 465;
  11. $mail->Username = "@gmail.com";
  12. $mail->Password = "";
  13. $mail->SetFrom("", "");
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement