I have a rule that sends mails using OH 2.x using mail actions. This is done via smtp and google mail and used to work fine in the past.
Recently, this has stopped working. Mails are not sent anymore and everytime a mail shall be sent the following entry appears in the log:
2021-07-12 23:26:37.178 [WARN ] [ab.binding.mail.internal.SMTPHandler] - Sending the email to the following server failed : smtp.gmail.com:587
2021-07-12 23:26:37.180 [WARN ] [ab.binding.mail.internal.SMTPHandler] - javax.mail.AuthenticationFailedException: 535-5.7.8 Username and Password not accepted. Learn more at
(The “learn more” link does not help here).
I wonder what has changed and what can I do about it. I also don’t think that I am the only one using gmail with Mail Actions so this problem has probably also appeared for other users?
Thanks a lot,