bugnet icon indicating copy to clipboard operation
bugnet copied to clipboard

gmails are not working in BugNet

Open comic1976 opened this issue 9 years ago • 1 comments

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

comic1976 avatar Aug 22 '16 07:08 comic1976

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.

wrhighfield avatar Oct 23 '16 02:10 wrhighfield