com.independentsoft.exchange

## Class InvalidRecipient

- java.lang.Object
- - com.independentsoft.exchange.InvalidRecipient

-     public class InvalidRecipient
      extends java.lang.Object

  Contains the SMTP address of the invalid recipient and information about why the recipient is invalid.

- - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `java.lang.String` | `getMessageText()` Gets a text description of the status of the response.
    `InvalidRecipientResponseCode` | `getResponseCode()` Gets an error code that identifies the specific error that the request encountered.
    `java.lang.String` | `getSmtpAddress()` Gets the SMTP address of the invalid recipient.

    - ### Methods inherited from class java.lang.Object

      `equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Method Detail

    - #### getSmtpAddress

          public java.lang.String getSmtpAddress()

      Gets the SMTP address of the invalid recipient.
      Returns:
        the smtp address

    - #### getResponseCode

          public InvalidRecipientResponseCode getResponseCode()

      Gets an error code that identifies the specific error that the request encountered.
      Returns:
        the response code

    - #### getMessageText

          public java.lang.String getMessageText()

      Gets a text description of the status of the response.
      Returns:
        the message text