How to setup SMTP Mail for Outlook in NAV 5.0 SP1

ovestergaard
Member Posts: 3
Hi,
We are running NAV 5.0 SP1 and I need to setup SMTP Mail for Outlook through T409, F409, CU400.
I cannot get it to work, get error: Failure sending mail. Authentication failed because the remote party has closed the transport stream.
I have installed and registered Microsoft Navision Mail automation v. 7.3, am using smtp.office365.com, port 587.
I think the problem is that the Mail.Send call does not use TLS 1.2.
Any suggestions on how to force that in the C/AL code?
Are any hotfixes available?
Best regards Ole
We are running NAV 5.0 SP1 and I need to setup SMTP Mail for Outlook through T409, F409, CU400.
I cannot get it to work, get error: Failure sending mail. Authentication failed because the remote party has closed the transport stream.
I have installed and registered Microsoft Navision Mail automation v. 7.3, am using smtp.office365.com, port 587.
I think the problem is that the Mail.Send call does not use TLS 1.2.
Any suggestions on how to force that in the C/AL code?
Are any hotfixes available?
Best regards Ole
0
Answers
-
From Microsoft I don't think so, that version it's out of support. You will need to fix this automation 'Microsoft Navision Mail'.SmtpMessage or a partner must do it for you1
-
Thank you @KTA8,
We are a partner, but takes me into unknown territory, will try it. For now, I have downloaded and used dotPeek and created a VS solution. Basically, need to change the .NET Framework to 4.6, I think, which will use TLS 1.2.0
Categories
- All Categories
- 73 General
- 73 Announcements
- 66.6K Microsoft Dynamics NAV
- 18.7K NAV Three Tier
- 38.4K NAV/Navision Classic Client
- 3.6K Navision Attain
- 2.4K Navision Financials
- 116 Navision DOS
- 851 Navision e-Commerce
- 1K NAV Tips & Tricks
- 772 NAV Dutch speaking only
- 617 NAV Courses, Exams & Certification
- 2K Microsoft Dynamics-Other
- 1.5K Dynamics AX
- 320 Dynamics CRM
- 111 Dynamics GP
- 10 Dynamics SL
- 1.5K Other
- 990 SQL General
- 383 SQL Performance
- 34 SQL Tips & Tricks
- 35 Design Patterns (General & Best Practices)
- 1 Architectural Patterns
- 10 Design Patterns
- 5 Implementation Patterns
- 53 3rd Party Products, Services & Events
- 1.6K General
- 1.1K General Chat
- 1.6K Website
- 83 Testing
- 1.2K Download section
- 23 How Tos section
- 252 Feedback
- 12 NAV TechDays 2013 Sessions
- 13 NAV TechDays 2012 Sessions