1. 异步发送邮件异常

org.springframework.mail.MailSendException: Failed messages: com.sun.mail.smtp.SMTPSendFailedException: 501 mail from address must be same as authorization user
;
nested exception is:
com.sun.mail.smtp.SMTPSenderFailedException: 501 mail from address must be same as authorization user

 

2. 解决方案

  1. 检查邮箱是否开启POP3/SMTP服务

  2. 检查密码是否是POP3/SMTP服务授权码而不是邮箱密码

  3. 检查发送邮箱时候填写正确

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2021-06-03
  • 2021-11-19
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-06-21
猜你喜欢
  • 2021-11-18
  • 2021-07-02
  • 2022-12-23
  • 2021-09-18
  • 2021-06-30
  • 2022-02-24
  • 2021-09-24
相关资源
相似解决方案