Hello, We created a New report and wrote the attached Code to send Email certain data to one user.
Attached is the SMTP setting on our NAV server.
However, we executed the report, we got the error
Microsoft Dynamics NAV
The SMTP mail system returned the following error: "The SMTP server requires a secure connection or the client was not authenticated. The server response was: 5.7.57 SMTP; Client was not authenticated to send anonymous mail during MAIL FROM [KL1PR0601CA0015.apcprd06.prod.outlook.com]".