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...
Suggested answer

NAV 2017 - Failure Sending mail.

(0) ShareShare
ReportReport
Posted on by

We started getting this error recently (within the past week) when sending out emails. Has anyone come across it yet. I've been googling it for a few days with no resolve.

8863.error.PNG

I suspect it's a TLS 1.2 issue but I'm unsure where/how to resolve it.

The server we are on is 2012R2 so TLS 1.2 is already enabled. I'm familiar with adding ServicePointManager.SecurityProtocol in visual studio but not C/AL.

When I try adding the dll to a dummy codeunit the option under DotNet > System.Net, the dll does not exist.

When I review our office365 settings online it shows most of the mailboxes we use on NAV are sending using 1.0

Any advice on how to force TLS 1.2 in NAV 2017?

  • Suggested answer
    MS-29082001-0 Profile Picture
    40 on at
    RE: NAV 2017 - Failure Sending mail.

    Hi 

    For those of you who are struggling with this TLS1.2 and Microsoft Office 365 issue and are on an older version of NAV...

    We are on NAV2017, SQL server 2016

    This blog solved it for us, scroll down to "Best Answer"
    Sql-server – Enable TLS 1.2 for SQL Server 2016 database mail – iTecTec

    I was successful in testing from both NAV RTC SMTP settings and SQL Database Email setup

    Hope this helps others.

    Michael 

  • MS-29082001-0 Profile Picture
    40 on at
    RE: NAV 2017 - Failure Sending mail.

    Hello Marco,

    This link says that NAV 2017 supports TLS1.2 from CU18 and above. Is that not true? 

    How to get earlier versions of the Dynamics NAV development environment to work with TLS 1.2 - Microsoft Dynamics 365 Blog

    There must be thousands of customers dealing with this issue how do we get past it? We aren't in any position to upgrade.

    Please HELP!

  • Suggested answer
    Marco Mels Profile Picture
    on at
    RE: NAV 2017 - Failure Sending mail.

    Hello,

    Tls1.2 is required when connecting to Exchange Online. We added support for Tls 1.2 in a later release. This sure is a requirement for this functionality.

    RTM build of Dynamics NAV 2017 does not have this support built in. Another requirement is to also ensure your .NET Framework is up to date.

    Thanks.

  • kenthub Profile Picture
    on at
    RE: NAV 2017 - Failure Sending mail.

    We are running the first version of 2017 so we plan to upgrade to the latest August Release. Hopefully, something in the dll for that codeunit will work. I'm not sure if calling and setting the security protocol to TLS 1.2 will do anything at this point. I appreciate the help in getting closer to the solution. I have high hopes this upgrade will work. We plan to migrate to the latest of business central, but that is a long way off :/

  • kenthub Profile Picture
    on at
    RE: NAV 2017 - Failure Sending mail.

    No that didn't solve the problem.

  • Suggested answer
    YUN ZHU Profile Picture
    78,675 Super User 2025 Season 1 on at
    RE: NAV 2017 - Failure Sending mail.

    Hi, is it possible that the problem is with the Application Server OS? You can download the same CU of NAV, install it locally, and test it with the same settings.

    Hope this will help.

    Thanks.

    ZHU

  • Suggested answer
    Marco Mels Profile Picture
    on at
    RE: NAV 2017 - Failure Sending mail.

    Hello,

    If you are running latest CU for Dynamics NAV 2017 and you are still not able to send email via Dynamics NAV 2017, it may well be that Exchange Online deprecated basic authentication and you are required to use OAUTH as the authentication method for sending SMTP. Currently not all Dynamics NAV releases do support OAUTH for SMTP.

    docs.microsoft.com/.../exchange-online-basic-auth-deprecated

    Thanks.

  • Sivapragas Profile Picture
    10 on at
    RE: NAV 2017 - Failure Sending mail.

    Did it work ?

  • kenthub Profile Picture
    on at
    RE: NAV 2017 - Failure Sending mail.

    Thanks, I've reviewed the article and turned off the TLS 1.0 & TLS 1.1 from internet options on the server to try and force it to go through TLS 1.2. Hopefully, that works.

  • Suggested answer
    Marco Mels Profile Picture
    on at
    RE: NAV 2017 - Failure Sending mail.

    Hello,

    Please do take a look here:

    cloudblogs.microsoft.com/.../

    Thanks.

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

Daivat Vartak – Community Spotlight

We are honored to recognize Daivat Vartak as our March 2025 Community…

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Kudos to the February Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 292,865 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 231,723 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156 Moderator

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans