The server response was: 5.7.57 Client not authenticated to send mail. Error: 535 5.7.139 Authentication unsuccessful, the request did not meet the criteria to be authenticated successfully. Contact your administrator. [BL1PR13CA0211.namprd13.prod.outlook.com]
It's working fine on local development. but not working on the Azure web app service.