The SMTP server requires a secure connection or the client was not authenticated. The server response was: 5.7.57 Client was not authenticated to send anonymous mail from [MN2PR15CA0026.namprd15.prod.outlook.com].
I am getting above error when trying to use mail server as : smtp.office365.com. It is working fine for other mail server .
Please suggest some solution.
Thanks in advance.