设置如下:
SMTP服务器 smtp.163.com
用户默认邮件后缀 @163.com
用户名 17633641037@163.com
密码 **********
SMTP端口 25
字符集 UTF-8
Test e-mail recipient 17633641037@163.com
报错信息:
Failed to send out e-mail
com.sun.mail.smtp.SMTPSenderFailedException: 553 authentication is required,163 smtp8,DMCowABnsfiC+lldHnxrHw–.36049S2 1566177922
at com.sun.mail.smtp.SMTPTransport.mailFrom(SMTPTransport.java:1587)
Caused: com.sun.mail.smtp.SMTPSendFailedException: 553 authentication is required,163 smtp8,DMCowABnsfiC+lldHnxrHw–.36049S2 1566177922
;
nested exception is:
com.sun.mail.smtp.SMTPSenderFailedException: 553 authentication is required,163 smtp8,DMCowABnsfiC+lldHnxrHw–.36049S2 1566177922
上图为我的邮箱通知设置
163邮箱stmp已打开,系统管理员邮箱也改的和用户名一致