I am trying to send an email using the code and the outlook smtp protocol, but there is an authentication error
建伟 周
0
Reputation points
I created an application in Azure and exchanged the access_token with code, but I get an error when using jakarta.mail: “535 5.7.3 Authentication unsuccessful [SGXP274CA0007.SGPP274.PROD. outlook.com 2024 -11-12t03:19:03.964z 08dd02bfa482f37e]”.
An error occurred while using the microsoft SDK: “Request failed. The remote server returned an error:(401)”. Is there anything else I need to configure in Azure?
Sign in to answer