Name

javax.mail.SendFailedException — This exception is thrown if a message cannot be sent.

Synopsis

public class SendFailedException extends MessagingException {
    // Public Constructors
            public SendFailedException();
            public SendFailedException(java.lang.String s);
            public SendFailedException(java.lang.String s, java.lang.Exception e);
            public SendFailedException(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.