Skip to content
This repository has been archived by the owner on May 9, 2019. It is now read-only.

gmails are not working in BugNet #222

Open
comic1976 opened this issue Aug 22, 2016 · 1 comment
Open

gmails are not working in BugNet #222

comic1976 opened this issue Aug 22, 2016 · 1 comment

Comments

@comic1976
Copy link

I love this software and it's useful, but gmail SMTP is not working in BugNet SMTP setting,
and I got the error message "Failure sending mail.. Please see the error log for more details." after i clicked "Test" button!
I can't see any message in "Admin"->"Log Viewer", how should i solve this SMTP problem ?
(There is no firewall),the following is my SMTP configuration....(BugNet Version 1.6.339.0)

server: smtp.gmail.com
port: 465
host Email: [email protected]
SSL: checked
Enable Authentication: checked
Username: [email protected]
Password: XXXXXXX
Domail: gmail.com
Email Format: HTML
Email Template Root: ~/templates

@wrhighfield
Copy link
Contributor

Hello,

This issue is actually due to changes in how Google handles newer and older email clients. The SmtpClient is considered to be an older client. The fix is actually two parts that requires changing the settings on the GMail account and changing the port number.

  1. For the GMail account settings you need to allow less secure apps to access your account. See: https://support.google.com/accounts/answer/6010255
  2. The second is to change the port from 465 to 587

This should solve the issue.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants