You are not logged in.
Pages: 1
sending emails was working fine. but from this morning i got this error message
java.lang.RuntimeException: javax.mail.AuthenticationFailedException: 535-5.7.8 Username and Password not accepted. Learn more at
535 5.7.8 https://support.google.com/mail/?p=BadCredentials z13-20020a5d44cd000000b0020e6c51f070sm21878826wrr.112 - gsmtp
at net.datenwerke.rs.scheduler.service.scheduler.mail.MailReportAction$1.handleException(MailReportAction.java:149)
at net.datenwerke.rs.core.service.mail.MailServiceImpl.sendMailSync(MailServiceImpl.java:243)
at net.datenwerke.rs.scheduler.service.scheduler.mail.MailReportAction.doExecute(MailReportAction.java:140)
at net.datenwerke.scheduler.service.scheduler.entities.AbstractAction.execute(AbstractAction.java:59)
at net.datenwerke.scheduler.service.scheduler.tasks.SchedulerTask.executeAction(SchedulerTask.java:495)
at net.datenwerke.scheduler.service.scheduler.tasks.SchedulerTask.executeActions(SchedulerTask.java:385)
at net.datenwerke.scheduler.service.scheduler.tasks.SchedulerTask.safeCall(SchedulerTask.java:209)
at net.datenwerke.scheduler.service.scheduler.tasks.SchedulerTask.call(SchedulerTask.java:101)
at net.datenwerke.scheduler.service.scheduler.tasks.SchedulerTask.call(SchedulerTask.java:1)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)
Caused by: javax.mail.AuthenticationFailedException: 535-5.7.8 Username and Password not accepted. Learn more at
535 5.7.8 https://support.google.com/mail/?p=BadCredentials z13-20020a5d44cd000000b0020e6c51f070sm21878826wrr.112 - gsmtp
at com.sun.mail.smtp.SMTPTransport$Authenticator.authenticate(SMTPTransport.java:823)
at com.sun.mail.smtp.SMTPTransport.authenticate(SMTPTransport.java:756)
at com.sun.mail.smtp.SMTPTransport.protocolConnect(SMTPTransport.java:673)
at javax.mail.Service.connect(Service.java:317)
at javax.mail.Service.connect(Service.java:176)
at javax.mail.Service.connect(Service.java:125)
at javax.mail.Transport.send0(Transport.java:194)
at javax.mail.Transport.send(Transport.java:124)
at net.datenwerke.rs.core.service.mail.MailServiceImpl.sendMailSync(MailServiceImpl.java:233)
... 11 more
my config :
<?xml version="1.0" encoding="UTF-8"?>
<configuration>
<smtp>
<host>smtp.gmail.com</host>
<port>465</port>
<username>reportserver2022@gmail.com</username>
<password>*******************</password>
<ssl>true</ssl>
<username>reportserver2022@gmail.com</username>
<password>************************</password>
</smtp>
<mail>
<sender>reportserver2022@gmail.com</sender>
<forceSender>false</forceSender>
<encryptionPolicy>allow_mixed</encryptionPolicy>
</mail>
</configuration>
according to https://support.google.com/mail/thread/40210887?hl=en
Gmail blocs the emails.
Is there a solution (a new config in reporteserver )?
I am under RS3.0.5-6005 (2018-10-30-10-32-54)
thanks
Offline
Hi lahlou,
in your link you also see this:
"It could be possible that you may require to re-verify your client/device to Google besides allowing for less secure apps."
-> https://support.google.com/a/answer/6260879?hl=en
Regards,
Eduardo
Offline
Hi lahlou,
pls note that it would be better to use an app password instead of a less secure app, refer to this document: https://wpmailsmtp.com/gmail-less-secure-apps/
Regards,
Eduardo
Offline
I generate a new password app from gmail.
It works. many thanks !
Offline
Pages: 1