Problem with one way e mail notification (SMTP settings)

Hello,

I’m having problems in sending email notifications on alarms. I have configured a proper SMTP gmail service setting with smtp.gmail.com as host and 465 SSL port.

I have created users with respective emails and configured them on the on call rooster.

After that i created a simple one-way email notification with the configured SMTP settings and on call rooster profile. I also checked the debug to wrapper.log and this is what it throws:

INFO   | jvm 1    | 2021/07/22 11:46:15 | E [a.N.OneWayNotificationProfile ] [16:46:15]: Error sending notification email:  view=Scada@C, project-name=OPT_OPTMX_2001, alarm-notification-profile=Simple One Way IOT, alarm-source=default/_OPT-OPTMX-2012_/Alarms/SampleAlarm/SetpointAlarm, alarm-name=SetpointAlarm
INFO   | jvm 1    | 2021/07/22 11:46:15 | javax.mail.AuthenticationFailedException: 535-5.7.8 Username and Password not accepted. Learn more at
INFO   | jvm 1    | 2021/07/22 11:46:15 | 535 5.7.8  https://support.google.com/mail/?p=BadCredentials m129sm5532950oif.15 - gsmtp
INFO   | jvm 1    | 2021/07/22 11:46:15 | 
INFO   | jvm 1    | 2021/07/22 11:46:15 | 	at com.sun.mail.smtp.SMTPTransport$Authenticator.authenticate(SMTPTransport.java:892)
INFO   | jvm 1    | 2021/07/22 11:46:15 | 	at com.sun.mail.smtp.SMTPTransport.authenticate(SMTPTransport.java:814)
INFO   | jvm 1    | 2021/07/22 11:46:15 | 	at com.sun.mail.smtp.SMTPTransport.protocolConnect(SMTPTransport.java:728)
INFO   | jvm 1    | 2021/07/22 11:46:15 | 	at javax.mail.Service.connect(Service.java:386)
INFO   | jvm 1    | 2021/07/22 11:46:15 | 	at javax.mail.Service.connect(Service.java:245)
INFO   | jvm 1    | 2021/07/22 11:46:15 | 	at javax.mail.Service.connect(Service.java:194)
INFO   | jvm 1    | 2021/07/22 11:46:15 | 	at javax.mail.Transport.send0(Transport.java:253)
INFO   | jvm 1    | 2021/07/22 11:46:15 | 	at javax.mail.Transport.send(Transport.java:124)
INFO   | jvm 1    | 2021/07/22 11:46:15 | 	at com.inductiveautomation.ignition.alarming.notification.email.OneWayNotificationProfile$EmailTask.run(OneWayNotificationProfile.java:271)
INFO   | jvm 1    | 2021/07/22 11:46:15 | 	at com.inductiveautomation.ignition.alarming.notification.email.OneWayNotificationProfile.lambda$new$0(OneWayNotificationProfile.java:73)
INFO   | jvm 1    | 2021/07/22 11:46:15 | 	at com.inductiveautomation.ignition.common.util.ThrottlingAggregator.check(ThrottlingAggregator.java:94)
INFO   | jvm 1    | 2021/07/22 11:46:15 | 	at com.inductiveautomation.ignition.common.util.ThrottlingAggregator$1.run(ThrottlingAggregator.java:113)
INFO   | jvm 1    | 2021/07/22 11:46:15 | 	at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
INFO   | jvm 1    | 2021/07/22 11:46:15 | 	at java.base/java.util.concurrent.FutureTask.run(Unknown Source)
INFO   | jvm 1    | 2021/07/22 11:46:15 | 	at java.base/java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(Unknown Source)
INFO   | jvm 1    | 2021/07/22 11:46:15 | 	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
INFO   | jvm 1    | 2021/07/22 11:46:15 | 	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
INFO   | jvm 1    | 2021/07/22 11:46:15 | 	at java.base/java.lang.Thread.run(Unknown Source)

The 3rd party applications on the email is on. I have tried with several emails with no success. I also tried sending an email with node-red and the result was SUCCESSFUL.

Can anybody help me out on what could be the problem here?

Regards

you are getting that in the log. check credentials.