Exception | +--javax.mail.MessagingException | +--javax.mail.SendFailedException
transient Address[] | This exception is thrown when the message cannot be sent. |
transient Address[] | |
transient Address[] |
SendFailedException(String message) |
SendFailedException(String message, Exception exception) |
SendFailedException(String message, Exception exception, Address validSent, Address validUnsent, Address invalid) Constructs a SendFailedException with the specified string and the specified address objects. |
Address[] | Return the addresses to which this message could not be sent. |
Address[] | Return the addresses to which this message was sent succesfully. |
Address[] | Return the addresses that are valid but to which this message was not sent. |
protected transient Address[] invalid
protected transient Address[] validSent
protected transient Address[] validUnsent
public SendFailedException()
public SendFailedException(String message)
public SendFailedException(String message, Exception exception)
public SendFailedException(String message, Exception exception, Address validSent, Address validUnsent, Address invalid)
public Address[] getInvalidAddresses()
public Address[] getValidSentAddresses()
public Address[] getValidUnsentAddresses()