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

Community site session details

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

Does BC support Login authentication over TLS for SMTP

(0) ShareShare
ReportReport
Posted on by 15,529

Hi

Do you know if BC SMTP support "Login authentication over TLS for SMTP"? if not do you know any app that does this? Or should this be done through development? 

Thanks 

I have the same question (0)
  • Suggested answer
    Marco Mels Profile Picture
    on at
    RE: Does BC support Login authentication over TLS for SMTP

    Hello,

    Microsoft's recommendation is to use certificate-based authentication or OAUTH2.

    Hope it helps.

  • MahGah Profile Picture
    15,529 on at
    RE: Does BC support Login authentication over TLS for SMTP

    Hi Marco

    Thanks. I believe TLS is also secure connection but I am not sure how to find out if it is supported by BC (Enchantment Email) or not.  Any idea how to find out?

    Thanks

  • Verified answer
    Marco Mels Profile Picture
    on at
    RE: Does BC support Login authentication over TLS for SMTP

    Hello,

    It is the other way around. The question is if the SMTP server that is in use is supporting TLS. If you run a telnet session against the SMTP server, you will see if it is able to supports TLS over port 587.

    telnet smtp.office365 587

    Result:

    220 AM4PR0202CA0017.outlook.office365.com Microsoft ESMTP MAIL Service ready at Wed, 13 Jul 2022 06:37:34 +0000

    Ehlo

    Result:

    250-AM4PR0202CA0017.outlook.office365.com Hello [2a02:a453:6555:1:cd60:930e:1357:7b15]

    250-SIZE 157286400

    250-PIPELINING

    250-DSN

    250-ENHANCEDSTATUSCODES

    250-STARTTLS

    250-8BITMIME

    250-BINARYMIME

    250-CHUNKING

    250 SMTPUTF8

    The 250-STARTTLS is important here which states there is support for TLS. Assuming you are using Exchange Online for your BC app, then the following applies:

    docs.microsoft.com/.../exchange-online-uses-tls-to-secure-email-connections

    Note that with enhanced Email in BC, we do not support Hybrid Exchange environments (Exchange Online plus Exchange OnPrem).

    Hope this answers the question.

    Thank you.

  • MahGah Profile Picture
    15,529 on at
    RE: Does BC support Login authentication over TLS for SMTP

    Thanks Marco for information. It was very educational. Based on your info if server support TLS then setting up BC with port 587 is possible and will work. Thanks again

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…

Pallavi Phade – Community Spotlight

We are honored to recognize Pallavi Phade as our Community Spotlight honoree for…

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

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 2,214

#2
Sumit Singh Profile Picture

Sumit Singh 2,145

#3
YUN ZHU Profile Picture

YUN ZHU 1,887 Super User 2025 Season 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans