New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Sending email via gmail SMTP requires to "Allow less secure apps: YES" -> is solution to use PHPMailer? #8613
Comments
I didn't have to do this I think. Did you use |
yes, strange you didn't have to do this. I should try with another gmail account if I can reproduce |
Some more context: To avoid this in the future and properly support using Google's SMTP, perhaps Piwik could implement OAuth 2: https://developers.google.com/gmail/oauth_overview?hl=en |
The FAQ could link to: Original announcement: Steps to enable "less-secure" apps: |
If anyone else experiences this, please leave a comment! |
I'm running tests to send my first set of patches and I had to enable "less secure apps access" to be able to send the patches with git-send-mail through gmail (to my personal account, just testing, as I said). |
G'day guys, Old thread, but still an open issue, so I figured I would respond and keep it alive. At least for me this is still an issue. Would love to be able to keep the security on my GAPPS account, rather then use less secure setting. I've tested port 465 SSL and 587 TLS, to smtp.gmail.com using Login. But no joy. |
I had a look and https://github.com/PHPMailer/PHPMailer would solve this issue. We could use it from Piwik 3 as it requires PHP 5.4 to use it. Here is explanation. Could be actually quite easy to implement and to switch to this library . More infos https://github.com/PHPMailer/PHPMailer/wiki/Using-Gmail-with-XOAUTH2 |
That would be a great addition to Piwik from my perspective. |
So what was the solution to this? |
This issue was originally about improving the FAQ which has been done. A new issue about implementing GMail's oAuth should be opened by anyone interested in this. Link to #8613 (comment) would be useful there. |
Thanks... You Saved a lot of Time |
Less secure apps can make your account more vulnerable, Google will automatically turn this setting off if it's not being used. However, bypass this security setting with a configuration tweak within your Google Email Account . How "more secure apps" help to protect your account?
|
Initially I was facing similar issues associated with gmail while setting up POP3 and SMTP, however after successful login to gmail, I was unable to send and receive emails, the issue is happening probably due to gmail error 007 |
This issue is about improving this FAQ: How do I send Piwik emails using Gmail SMTP server?
While setting it up today, I noticed that i was getting an error when sending a scheduled report
To resolve this issue I had to go to:
Allow less secure app
toYES
Steps
The text was updated successfully, but these errors were encountered: