com.sun.mail.smtp.smtpsendfailedexception:553 Mail from must equal authorized user

Source: Internet
Author: User

1. Error description

553 mail from must equal authorized usercom.sun.mail.smtp.smtpsendfailedexception:553 Mail from must equal authorized use Rat Com.sun.mail.smtp.SMTPTransport.issueSendCommand (smtptransport.java:1333) at Com.sun.mail.smtp.SMTPTransport.mailFrom (smtptransport.java:906) at Com.sun.mail.smtp.SMTPTransport.sendMessage ( smtptransport.java:535) at Com.you.mail.model.SendMessage.sendMessage (sendmessage.java:71) at Com.you.mail.model.SendMessage.main (sendmessage.java:89) Exception in thread "main" com.sun.mail.smtp.smtpsendfailedexception:553 Mail from must equal authorized Userat Com.sun.mail.smtp.SMTPTransport.issueSendCommand (smtptransport.java:1333) at Com.sun.mail.smtp.SMTPTransport.mailFrom (smtptransport.java:906) at Com.sun.mail.smtp.SMTPTransport.sendMessage ( smtptransport.java:535) at Com.you.mail.model.SendMessage.sendMessage (sendmessage.java:71) at Com.you.mail.model.SendMessage.main (sendmessage.java:89)

2. Cause of error

Because in the mail sent, the login user and the sender must be consistent, and in the test I logged in the user's mailbox is 163 mailbox, the sender's mailbox is QQ mailbox, resulting in error


3. Solutions

Ensure that the login mailbox is consistent with the sender's mailbox, either using 163 mailbox, or using QQ mailbox

Copyright NOTICE: This article for Bo Master original article, without Bo Master permission not reproduced.

com.sun.mail.smtp.smtpsendfailedexception:553 Mail from must equal authorized user

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.