## Uses of Class
javax.mail.internet.InternetAddress

- Packages that use InternetAddress
  Package | Description
  --- | ---
  com.sun.mail.smtp | An SMTP protocol provider for the JavaMail API that provides access to an SMTP server.
  javax.mail.internet | Classes specific to Internet mail systems.

- - ### Uses of InternetAddress in com.sun.mail.smtp

    Fields in com.sun.mail.smtp declared as InternetAddress
    Modifier and Type | Field and Description
    --- | ---
    `protected InternetAddress` | SMTPSenderFailedException.`addr`
    `protected InternetAddress` | SMTPSendFailedException.`addr`
    `protected InternetAddress` | SMTPAddressSucceededException.`addr`
    `protected InternetAddress` | SMTPAddressFailedException.`addr`

    Methods in com.sun.mail.smtp that return InternetAddress
    Modifier and Type | Method and Description
    --- | ---
    `InternetAddress` | SMTPSenderFailedException.`getAddress()` Return the address that failed.
    `InternetAddress` | SMTPAddressSucceededException.`getAddress()` Return the address that succeeded.
    `InternetAddress` | SMTPAddressFailedException.`getAddress()` Return the address that failed.

    Constructors in com.sun.mail.smtp with parameters of type InternetAddress
    Constructor and Description
    `SMTPAddressFailedException(InternetAddress addr, String cmd, int rc, String err)` Constructs an SMTPAddressFailedException with the specified address, return code, and error string.
    `SMTPAddressSucceededException(InternetAddress addr, String cmd, int rc, String err)` Constructs an SMTPAddressSucceededException with the specified address, return code, and error string.
    `SMTPSenderFailedException(InternetAddress addr, String cmd, int rc, String err)` Constructs an SMTPSenderFailedException with the specified address, return code, and error string.

  - ### Uses of InternetAddress in javax.mail.internet

    Methods in javax.mail.internet that return InternetAddress
    Modifier and Type | Method and Description
    --- | ---
    `InternetAddress[]` | InternetAddress.`getGroup(boolean strict)` Return the members of a group address.
    `static InternetAddress` | InternetAddress.`getLocalAddress(Session session)` Return an InternetAddress object representing the current user.
    `static InternetAddress[]` | InternetAddress.`parse(String addresslist)` Parse the given comma separated sequence of addresses into InternetAddress objects.
    `static InternetAddress[]` | InternetAddress.`parse(String addresslist, boolean strict)` Parse the given sequence of addresses into InternetAddress objects.
    `static InternetAddress[]` | InternetAddress.`parseHeader(String addresslist, boolean strict)` Parse the given sequence of addresses into InternetAddress objects.

Copyright © 2013 Oracle. All Rights Reserved.