I managed to get it up and running. There are only a few steps needed:
1. I had an ancient mail dll (version 1.0) on my system. Since we need to set the port number and SSL enabled we have to install a newer version. I used KB2516144 and installed version 7.0.13.
2. Add the portnumber and boolean SSL enabled to the SMTP Mail Setup table and form.
3. It might be not so easy to select and use the new mail dll in your code. If so then export codeunit 400 to text format, change the version of the automation variable from 1.0 to 7.0 and import the codeunit again. After that add the port number and SSL enabled boolean to the arguments of the send method in codeunit 400 (easy because it will not compile if you don't).
4. go to your webmail account of office365. select home -> outlook -> options to find the SMTP settings. Should be something like:
Server pod999999.outlook.com
Port 999
Encryption TSL or SSL
Fill these values in your Navision mail setup, together with Basic authentication, and a valid email account.
That should do the job.
Comments
I managed to get it up and running. There are only a few steps needed:
1. I had an ancient mail dll (version 1.0) on my system. Since we need to set the port number and SSL enabled we have to install a newer version. I used KB2516144 and installed version 7.0.13.
2. Add the portnumber and boolean SSL enabled to the SMTP Mail Setup table and form.
3. It might be not so easy to select and use the new mail dll in your code. If so then export codeunit 400 to text format, change the version of the automation variable from 1.0 to 7.0 and import the codeunit again. After that add the port number and SSL enabled boolean to the arguments of the send method in codeunit 400 (easy because it will not compile if you don't).
4. go to your webmail account of office365. select home -> outlook -> options to find the SMTP settings. Should be something like:
Server pod999999.outlook.com
Port 999
Encryption TSL or SSL
Fill these values in your Navision mail setup, together with Basic authentication, and a valid email account.
That should do the job.
I have the same issue .
Can anyone please send me the dll for navision Mail with Port and SSl encryption option?
I am not able to find the hotfix with these. I am running on NAV 5.0 and just moved to office365.
Thanks,
Vijay