我试图使用JavaMail和smtp协议从服务器发送电子邮件。电子邮件是name@mydomain.com。JavaMail正在抛出上述异常,此消息“客户端没有作为此发件人发送的权限”。org.apache.commons.mail.EmailException: Sending the email to the following server failed : smtp.office365:
550 5.7.60 SMTP; Client does not have permissions to send as this