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.
| Modifier and Type | Field and Description |
|---|---|
| protected InternetAddress | |
| protected String | |
| protected int | |
| private static final long |
| Access | Constructor and Description |
|---|---|
| public | SMTPAddressSucceededException(InternetAddress
the address that succeeded addr, String the command that was sent to the SMTP server cmd, int the SMTP return code indicating the success rc, String the error string from the SMTP server err)Constructs an SMTPAddressSucceededException with the specified address, return code, and error string. |
| Modifier and Type | Method and Description |
|---|---|
| public InternetAddress | |
| public String | |
| public int | Returns: the return codeReturn the return code from the SMTP server that indicates the reason for the success. |
| addr | back to summary |
|---|---|
| protected InternetAddress addr | |
| cmd | back to summary |
|---|---|
| protected String cmd | |
| rc | back to summary |
|---|---|
| protected int rc | |
| serialVersionUID | back to summary |
|---|---|
| private static final long serialVersionUID | |
| SMTPAddressSucceededException | back to summary |
|---|---|
| public SMTPAddressSucceededException(InternetAddress addr, String cmd, int rc, String err) Constructs an SMTPAddressSucceededException with the specified address, return code, and error string.
| |
| getAddress | back to summary |
|---|---|
| public InternetAddress getAddress() Return the address that succeeded.
| |
| getCommand | back to summary |
|---|---|
| public String getCommand() Return the command that succeeded.
| |
| getReturnCode | back to summary |
|---|---|
| public int getReturnCode() Return the return code from the SMTP server that indicates the reason for the success. See RFC 821 for interpretation of the return code.
| |