How to setup SMTP Mail for Outlook in NAV 5.0 SP1

ovestergaardovestergaard 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

Answers

  • KTA8KTA8 Member Posts: 397
    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 you
  • ovestergaardovestergaard Member Posts: 3
    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.
Sign In or Register to comment.