web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Small and medium business | Business Central, N...
Answered

Set-up SMTP email in BC SaaS ver 20.4

(0) ShareShare
ReportReport
Posted on by 50

Hello to all, 

I have issue with sending mails from BC 20.4 SaaS version.

Exchange license to user bc-mail is given. App Password is created from site:https://account.activedirectory.windowsazure.com/AppPasswords.aspx for bc-mail user.

pastedimage1662654006127v1.png

The error:

pastedimage1662654089514v2.png

I have the same question (0)
  • Suggested answer
    Amit Baru Profile Picture
    3,037 on at

    hi,

    Pls check SMTP setup. And check test mail. If it successful, then check your code.

    Regards

    Amit Sharma

    www.erpconsultors.com

  • bozapav Profile Picture
    50 on at

    I hope the SMTP setup is visible in the first post.

    I can't send a test mail.
    What code? This is standard.

  • Suggested answer
    Marco Mels Profile Picture
    on at

    Hello,

    Instead of Basic Authentication you should choose OAUT2. That will resolve the error. 

    Thank you. 

  • bozapav Profile Picture
    50 on at

    Hi Marco,


    Thanks.

    That mean, I need to follow all setups from https://docs.cosmoconsult.com/fr-fr/business-central/graphical-extension/setup/authentication-setup-oauth20.html page?

  • Suggested answer
    YUN ZHU Profile Picture
    95,729 Super User 2025 Season 2 on at

    Hi, I tested the SMTP settings and it seems to be fine.
    Please check your SMTP settings and your exchange settings again.

    pastedimage1663042061483v2.png

    pastedimage1663042015969v1.png

    pastedimage1663042071807v3.png

    pastedimage1663042101083v4.png

    Hope this helps.

    Thanks.

    ZHU

  • bozapav Profile Picture
    50 on at

    Hello ZHU,

    License Exchange:
    pastedimage1663055697403v1.png

    SMTP:
    pastedimage1663055755273v2.png

    I guess it is connected with SMTP depreciation?

  • bozapav Profile Picture
    50 on at

    I tried with Microsoft 365 Business Standard license for that user, it was the same situation.

  • Verified answer
    bozapav Profile Picture
    50 on at

    I set up. Thanks. Email Apps - for SMTP need to be enabled.

    pastedimage1663063752367v1.png

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Small and medium business | Business Central, NAV, RMS

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 2,468

#2
YUN ZHU Profile Picture

YUN ZHU 923 Super User 2025 Season 2

#3
Sumit Singh Profile Picture

Sumit Singh 607

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans