我在通过java程序编写邮件发送时遇到如下问题:
451 4.7.0 Temporary server error. Please try again later. PRX4。
==========================
我的配置如下:
spring:
mail:
host: smtp.office365.com
username:
password:
protocol: smtp
default-encoding: utf-8
port: 587
properties:
mail:
smtp:
starttls:
enable: true
required: true
UseDefaultCredentials: false
debug: true
isEnableLog: true
==========================
debug日志如附件,截图如下: