Tuesday, October 15, 2013

PHPMailer SMTP Error: Could not authenticate using gmail as smtp server

PHPMailer SMTP Error: Could not authenticate using gmail as smtp server
Causes
  1. invalid username
    1. try username@gmail.com instead of username
  2. invalid password
  3. invalid secure option
    1. use ssl, tls not SSL, TLS
  4. invalid port 
    1. use port 587 or 465

No comments:

Post a Comment