Name
javax.mail.SendFailedException — This exception is thrown if a message cannot be sent.
Synopsis
public classSendFailedException
extends MessagingException { // Public Constructors publicSendFailedException
(); publicSendFailedException
(java.lang.String s); publicSendFailedException
(java.lang.String s, java.lang.Exception e); publicSendFailedException
(java.lang.String msg, java.lang.Exception ex, Address[] validSent, Address[] validUnsent, Address[] invalid); // Protected Variables protected Address[]invalid;
protected Address[]validSent;
protected Address[]validUnsent;
// Public Methods public Address[]getValidSentAddresses
(); public Address[]getValidUnsentAddresses
(); public Address[]getInvalidAddresses
(); }
Hierarchy
java.lang.Object→java.lang.Throwable→java.lang.Exception→javax.mail. MessagingException→javax.mail.SendFailedException
Get Programming Internet Email now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.