question

LeiMing-7314 avatar image
0 Votes"
LeiMing-7314 asked LeiMing-7314 published

企业邮箱smtp发送邮件451错误代码

我在通过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日志如附件,截图如下:
102833-image.png


office-exchange-server-dev
image.png (311.3 KiB)
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

0 Answers