Package | Description |
---|---|
javax.mail |
Classes modelling a mail system.
|
javax.mail.internet |
Classes modelling Internet mail systems.
|
javax.mail.search |
Search expressions for executing searches on the messages in a folder.
|
Modifier and Type | Field and Description |
---|---|
static Message.RecipientType |
Message.RecipientType.BCC
"Blind" carbon-copy recipients.
|
static Message.RecipientType |
Message.RecipientType.CC
Carbon-copy recipients.
|
static Message.RecipientType |
Message.RecipientType.TO
Primary recipients.
|
Modifier and Type | Method and Description |
---|---|
void |
Message.addRecipient(Message.RecipientType type,
Address address)
Adds the recipient address of the given type.
|
abstract void |
Message.addRecipients(Message.RecipientType type,
Address[] addresses)
Adds the recipient addresses of the given type.
|
abstract Address[] |
Message.getRecipients(Message.RecipientType type)
Returns all the recipient addresses of the specified type.
|
void |
Message.setRecipient(Message.RecipientType type,
Address address)
Sets the recipient address of the specified type.
|
abstract void |
Message.setRecipients(Message.RecipientType type,
Address[] addresses)
Sets the recipient addresses of the specified type.
|
Modifier and Type | Class and Description |
---|---|
static class |
MimeMessage.RecipientType
Additional recipient types specific to internet messages.
|
Modifier and Type | Method and Description |
---|---|
void |
MimeMessage.addRecipients(Message.RecipientType type,
Address[] addresses)
Adds the given addresses to the recipients of the specified type.
|
void |
MimeMessage.addRecipients(Message.RecipientType type,
String addresses)
Adds the given addresses to the recipients of the specified type.
|
Address[] |
MimeMessage.getRecipients(Message.RecipientType type)
Returns the recipients of the given type.
|
void |
MimeMessage.setRecipients(Message.RecipientType type,
Address[] addresses)
Sets the recipients of the given type.
|
void |
MimeMessage.setRecipients(Message.RecipientType type,
String addresses)
Sets the recipients of the given type.
|
Modifier and Type | Field and Description |
---|---|
protected Message.RecipientType |
RecipientTerm.type
The recipient type.
|
Modifier and Type | Method and Description |
---|---|
Message.RecipientType |
RecipientTerm.getRecipientType()
Returns the recipient type.
|
Message.RecipientType |
RecipientStringTerm.getRecipientType()
Return the recipient type.
|
Constructor and Description |
---|
RecipientStringTerm(Message.RecipientType type,
String pattern)
Constructor.
|
RecipientTerm(Message.RecipientType type,
Address address)
Constructor.
|
© Copyright 2003, 2004 The Free Software Foundation, All rights reserved