Package javax.mail
Class Message.RecipientType
- java.lang.Object
-
- javax.mail.Message.RecipientType
-
- All Implemented Interfaces:
java.io.Serializable
- Direct Known Subclasses:
MimeMessage.RecipientType
- Enclosing class:
- Message
public static class Message.RecipientType extends java.lang.Object implements java.io.Serializable
The types of recipients to which a message can be sent. The types defined here are TO, CC and BCC. Other types may be defined by subclasses.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static Message.RecipientType
BCC
"Blind" carbon-copy recipients.static Message.RecipientType
CC
Carbon-copy recipients.static Message.RecipientType
TO
Primary recipients.protected java.lang.String
type
The type of recipient.
-
Constructor Summary
Constructors Modifier Constructor Description protected
RecipientType(java.lang.String type)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected java.lang.Object
readResolve()
java.lang.String
toString()
-
-
-
Field Detail
-
TO
public static final Message.RecipientType TO
Primary recipients.
-
CC
public static final Message.RecipientType CC
Carbon-copy recipients.
-
BCC
public static final Message.RecipientType BCC
"Blind" carbon-copy recipients. This type of recipient is hidden from other recipients of the message.
-
type
protected java.lang.String type
The type of recipient.
-
-