| java.lang.Object | ||||
| ↳ | java.lang.Throwable | |||
| ↳ | java.lang.Exception | |||
| ↳ | com.google.code.javax.mail.MessagingException | |||
| ↳ | com.google.code.com.sun.mail.smtp.SMTPAddressSucceededException | |||
This exception is chained off a SendFailedException when the
mail.smtp.reportsuccess property is true. It
indicates an address to which the message was sent. The command
will be an SMTP RCPT command and the return code will be the
return code from that command.
| Constants | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| long | serialVersionUID | ||||||||||
|
[Expand]
Inherited Constants | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
com.google.code.javax.mail.MessagingException
| |||||||||||
From class
java.lang.Exception
| |||||||||||
From class
java.lang.Throwable
| |||||||||||
| Fields | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| addr | |||||||||||
| cmd | |||||||||||
| rc | |||||||||||
|
[Expand]
Inherited Fields | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
com.google.code.javax.mail.MessagingException
| |||||||||||
From class
java.lang.Throwable
| |||||||||||
| Public Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Constructs an SMTPAddressSucceededException with the specified
address, return code, and error string.
| |||||||||||
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Return the address that succeeded.
| |||||||||||
Return the command that succeeded.
| |||||||||||
Return the return code from the SMTP server that indicates the
reason for the success.
| |||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
com.google.code.javax.mail.MessagingException
| |||||||||||
From class
java.lang.Throwable
| |||||||||||
From class
java.lang.Object
| |||||||||||
Constructs an SMTPAddressSucceededException with the specified address, return code, and error string.
| addr | The address that succeeded |
|---|---|
| cmd | The command that was sent to the SMTP server |
| rc | The SMTP return code indicating the success |
| err | The error string from the SMTP server |
Return the command that succeeded.
Return the return code from the SMTP server that indicates the reason for the success. See RFC 821 for interpretation of the return code.