| 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.
|
| Modifier and Type | Field | Description |
|---|---|---|
protected InternetAddress |
SMTPAddressFailedException.addr |
|
protected InternetAddress |
SMTPAddressSucceededException.addr |
|
protected InternetAddress |
SMTPSenderFailedException.addr |
|
protected InternetAddress |
SMTPSendFailedException.addr |
| Modifier and Type | Method | Description |
|---|---|---|
InternetAddress |
SMTPAddressFailedException.getAddress() |
Return the address that failed.
|
InternetAddress |
SMTPAddressSucceededException.getAddress() |
Return the address that succeeded.
|
InternetAddress |
SMTPSenderFailedException.getAddress() |
Return the address that failed.
|
| Constructor | Description |
|---|---|
SMTPAddressFailedException(InternetAddress addr,
java.lang.String cmd,
int rc,
java.lang.String err) |
Constructs an SMTPAddressFailedException with the specified
address, return code, and error string.
|
SMTPAddressSucceededException(InternetAddress addr,
java.lang.String cmd,
int rc,
java.lang.String err) |
Constructs an SMTPAddressSucceededException with the specified
address, return code, and error string.
|
SMTPSenderFailedException(InternetAddress addr,
java.lang.String cmd,
int rc,
java.lang.String err) |
Constructs an SMTPSenderFailedException with the specified
address, return code, and error string.
|
| Modifier and Type | Method | 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(java.lang.String addresslist) |
Parse the given comma separated sequence of addresses into
InternetAddress objects.
|
static InternetAddress[] |
InternetAddress.parse(java.lang.String addresslist,
boolean strict) |
Parse the given sequence of addresses into InternetAddress
objects.
|
static InternetAddress[] |
InternetAddress.parseHeader(java.lang.String addresslist,
boolean strict) |
Parse the given sequence of addresses into InternetAddress
objects.
|
Copyright © 1996-2013, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms< /a>.