Error in sending email

Hi, I need assistance with a problem that I specting in ignition.
When the task for sending a report via e-mail runs, the system show the following error:
javax.mail.AuthenticationFailedException: 535 5.7.139 Authentication unsuccessful, basic authentication is disabled.
I don´t now what happends, appreciate some ideas for solve this.
Thanks.

Are you using an email profile or are you passing the username/password combo when you call to send the email?

Based on the error I would guess that whatever email server you are trying to authenticate against doesn't allow just username/password combo and expects something like OAuth or similar.

Ignition does support making an OAuth SMTP email profile.

Thanks for your answer, in the gateway is configured the classic smtp profile with user name and password. the last month this functionality (sends email) works fine, but in October this crashes and I don´t undertand why.

Sounds like something changed in the email provider. Many public providers are switching to OAuth. You should check with your provider.

1 Like

Maybe, It could be ports blocked in the computer that runs ignition application? I scanned the ports, searching for 587 remote port that is configured in the gateway and I can´t see a effective connection to this port. The computer that runs Ignition application is connected to a corporate domain, I think about some policies that could be affecting or blocking the email's sending procedure.

That wouldn't yield an authorization error. It would yield a connection failure or a timeout.

Your user and password is being rejected for some reason. Whoever runs your email server should have logs they can look at to tell you why.