Skip to main content

Notifications

Announcements

No record found.

Small and medium business | Business Central, N...
Answered

Does BC support Login authentication over TLS for SMTP

(0) ShareShare
ReportReport
Posted on by 15,433

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 

  • MahGah Profile Picture
    MahGah 15,433 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

  • Verified answer
    Marco Mels Profile Picture
    Marco Mels 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
    MahGah 15,433 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

  • Suggested answer
    Marco Mels Profile Picture
    Marco Mels 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.

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

Congratulations 2024 Spotlight Honorees

Kudos to all of our 2024 community stars! 🎉

Meet the Top 10 leaders for December

Congratulations to our December super stars! 🥳

Start Your Super User Journey

Join the ranks of our community heros! 🦹

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,711 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,458 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans