Skip to content

Emailing broken again #84

@carueda

Description

@carueda

This is basically as #73 but decided to enter a "fresh" ticket in case there's any additional aspects that need consideration for resolution.

My recollection is that (even after the fix noted in #73) this has been broken again for a good while already.

For example, if trying to reset one's password in the UI, the backend log shows what's enclosed below. So, in principle it could jsut be that the password of the gmail account has changed but not yet reflected in the ORR config. That's my quick diagnosis at the moment.


DEBUG SMTP: AUTH LOGIN failed
2025-03-24 20:42:32.878 [Thread-7] WARN  org.mmisw.orr.ont.util.Emailer - problem sending email: 535-5.7.8 Username and Password not accepted. For more information, go to
535 5.7.8  https://support.google.com/mail/?p=BadCredentials d9443c01a7336-22780f39656sm75339455ad.5 - gsmtp

javax.mail.AuthenticationFailedException: 535-5.7.8 Username and Password not accepted. For more information, go to
535 5.7.8  https://support.google.com/mail/?p=BadCredentials d9443c01a7336-22780f39656sm75339455ad.5 - gsmtp

	at com.sun.mail.smtp.SMTPTransport$Authenticator.authenticate(SMTPTransport.java:826) ~[mail-1.4.7.jar:1.4.7]
	at com.sun.mail.smtp.SMTPTransport.authenticate(SMTPTransport.java:761) ~[mail-1.4.7.jar:1.4.7]
	at com.sun.mail.smtp.SMTPTransport.protocolConnect(SMTPTransport.java:685) ~[mail-1.4.7.jar:1.4.7]
	at javax.mail.Service.connect(Service.java:317) ~[mail-1.4.7.jar:1.4.7]
	at javax.mail.Service.connect(Service.java:176) ~[mail-1.4.7.jar:1.4.7]
	at org.mmisw.orr.ont.util.Emailer.sendMessage(Emailer.scala:71) [classes/:na]
	at org.mmisw.orr.ont.util.Emailer.sendEmail(Emailer.scala:27) [classes/:na]
	at org.mmisw.orr.ont.service.UserService.requestResetPassword(UserService.scala:196) [classes/:na]
	at org.mmisw.orr.ont.app.UserController$$anonfun$4$$anon$2.run(UserController.scala:73) [classes/:na]
	at java.lang.Thread.run(Thread.java:748) [na:1.8.0_252]

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions