{"action":"opened","issue":{"url":"https://api.github.com/repos/PHPMailer/PHPMailer/issues/581","labels_url":"https://api.github.com/repos/PHPMailer/PHPMailer/issues/581/labels{/name}","comments_url":"https://api.github.com/repos/PHPMailer/PHPMailer/issues/581/comments","events_url":"https://api.github.com/repos/PHPMailer/PHPMailer/issues/581/events","html_url":"https://github.com/PHPMailer/PHPMailer/issues/581","id":121387753,"number":581,"title":"Mailer Error: SMTP connect() failed","user":{"login":"tylerimmel5","id":16233853,"avatar_url":"https://avatars.githubusercontent.com/u/16233853?v=3","gravatar_id":"","url":"https://api.github.com/users/tylerimmel5","html_url":"https://github.com/tylerimmel5","followers_url":"https://api.github.com/users/tylerimmel5/followers","following_url":"https://api.github.com/users/tylerimmel5/following{/other_user}","gists_url":"https://api.github.com/users/tylerimmel5/gists{/gist_id}","starred_url":"https://api.github.com/users/tylerimmel5/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tylerimmel5/subscriptions","organizations_url":"https://api.github.com/users/tylerimmel5/orgs","repos_url":"https://api.github.com/users/tylerimmel5/repos","events_url":"https://api.github.com/users/tylerimmel5/events{/privacy}","received_events_url":"https://api.github.com/users/tylerimmel5/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-12-10T02:30:56Z","updated_at":"2015-12-10T02:30:56Z","closed_at":null,"body":"I recently tried setting up phpmailer with an smtp server with gmail and wamp, but I have failed numerous times. I have used hmailserver as well but there were multiple authentication errors with it so I switched to phpmailer. Phpmailer is having connection issues though and I am uncertain how to read the debugging info in order to determine what my problem is and from there how to fix it. My debugging info is here:\r\n\r\n2015-12-10 05:28:23\tCould not access file: /var/tmp/file.tar.gz 2015-12-10 05:28:23\tCould not access file: /tmp/image.jpg 2015-12-10 05:28:23 SERVER -> CLIENT: 220 smtp.gmail.com ESMTP w75sm5140764qka.25 - gsmtp 2015-12-10 05:28:23\tCLIENT -> SERVER: EHLO localhost 2015-12-10 05:28:23\tSERVER -> CLIENT: 250-smtp.gmail.com at your service, [72.9.9.76] 250-SIZE 35882577 250-8BITMIME 250-STARTTLS 250-ENHANCEDSTATUSCODES 250-PIPELINING 250-CHUNKING 250 SMTPUTF8 2015-12-10 05:28:23\tCLIENT -> SERVER: STARTTLS 2015-12-10 05:28:23\tSERVER -> CLIENT: 220 2.0.0 Ready to start TLS 2015-12-10 05:28:23\tCLIENT -> SERVER: EHLO localhost 2015-12-10 05:28:23\tSERVER -> CLIENT: 250-smtp.gmail.com at your service, [72.9.9.76] 250-SIZE 35882577 250-8BITMIME 250-AUTH LOGIN PLAIN XOAUTH2 PLAIN-CLIENTTOKEN OAUTHBEARER XOAUTH 250-ENHANCEDSTATUSCODES 250-PIPELINING 250-CHUNKING 250 SMTPUTF8 2015-12-10 05:28:23\tCLIENT -> SERVER: AUTH LOGIN 2015-12-10 05:28:23\tSERVER -> CLIENT: 334 VXNlcm5hbWU6 2015-12-10 05:28:23\tCLIENT -> SERVER: c2VjcmV0QGdtYWlsLmNvbQ== 2015-12-10 05:28:23\tSERVER -> CLIENT: 334 UGFzc3dvcmQ6 2015-12-10 05:28:23\tCLIENT -> SERVER: c2VjcmV0 2015-12-10 05:28:24\tSERVER -> CLIENT: 535-5.7.8 Username and Password not accepted. Learn more at 535 5.7.8 https://support.google.com/mail/answer/14257 w75sm5140764qka.25 - gsmtp 2015-12-10 05:28:24\tSMTP ERROR: Password command failed: 535-5.7.8 Username and Password not accepted. Learn more at 535 5.7.8 https://support.google.com/mail/answer/14257 w75sm5140764qka.25 - gsmtp 2015-12-10 05:28:24\tSMTP Error: Could not authenticate. 2015-12-10 05:28:24\tCLIENT -> SERVER: QUIT 2015-12-10 05:28:24 SERVER -> CLIENT: 221 2.0.0 closing connection w75sm5140764qka.25 - gsmtp 2015-12-10 05:28:24\tSMTP connect() failed. https://github.com/PHPMailer/PHPMailer/wiki/Troubleshooting Message could not be sent.Mailer Error: SMTP connect() failed. https://github.com/PHPMailer/PHPMailer/wiki/Troubleshooting\r\n\r\nSome of it I realize is a result of there being 'secret' instead of my actual email account and password but it still fails even with a correct email and password. "}}