Package | Description |
---|---|
com.sun.mail.imap.protocol | |
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 and Description |
---|---|
InternetAddress[] |
ENVELOPE.bcc |
InternetAddress[] |
ENVELOPE.cc |
InternetAddress[] |
ENVELOPE.from |
InternetAddress[] |
ENVELOPE.replyTo |
InternetAddress[] |
ENVELOPE.sender |
InternetAddress[] |
ENVELOPE.to |
Modifier and Type | Field and Description |
---|---|
protected InternetAddress |
SMTPSenderFailedException.addr |
protected InternetAddress |
SMTPSendFailedException.addr |
protected InternetAddress |
SMTPAddressSucceededException.addr |
protected InternetAddress |
SMTPAddressFailedException.addr |
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.
|
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.
|
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 © 2017 JBoss by Red Hat. All rights reserved.