D365 BC - SMTP email account

Hi all.

Any ideas on the below? Is it because of MFA??

My email tenant and my email address allow SMTP
I have set up an SMTP email account in BC cloud and the user and password are correct
I am using the latest BC cloud version
Every time I try to use that SMTP email account in BC (send test email), I get an error:
The SMTP server rejected the authentication request, as the authentication data is incorrect. Verify that your Username and Password are correct and that the SMTP server supports the specified authentication type (Basic). SMTP error code: 535.

in the email account for SMTP:
I used “apply office 365 settings”
sender email account = specific user
authentication = basic

Are you using an App Password for your email account? That is needed if you have MFA required for your email account.

Thank you - I was able to accomplish this with my gmail account. I got the app password for that.

I will try the exchange email account later!!

Dear eRIC,
COULD YOU PLEASE SHARE WITH ME THE SETTINGS YOU USED FOR YOUR SMTP. I AM ALSO HAVING PROBLEM SENDING MAIL FROM DYNAMICS NAV 365 BC.
sanusigreat@gmail.com is my mail address.

Regards.

Sanusi

The error message you are seeing typically indicates that the SMTP server is rejecting the authentication data you are providing. There are several possible reasons why this could be happening, and MFA could be one of them.

If you have enabled MFA (multi-factor authentication) for the user account you are using to authenticate to the SMTP server, this could be causing the issue. MFA requires additional authentication factors beyond just a username and password, so if the SMTP server is not set up to handle MFA authentication, it may be rejecting the login attempt.

To troubleshoot this issue, you may want to try disabling MFA for the user account temporarily and see if that resolves the problem. You could also try using an app password instead of your regular password, as some SMTP servers require this for authentication.

Another possibility is that there may be a typo or other error in the username or password you are using to authenticate to the SMTP server. Double-check these credentials to ensure they are correct and try again.

If none of these solutions work, you may want to contact your email provider or SMTP server administrator for further assistance. They may be able to provide additional guidance on how to resolve this issue.