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.SerializableThe 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.RecipientTypeBCC"Blind" carbon-copy recipients.static Message.RecipientTypeCCCarbon-copy recipients.static Message.RecipientTypeTOPrimary recipients.protected java.lang.StringtypeThe type of recipient.
-
Constructor Summary
Constructors Modifier Constructor Description protectedRecipientType(java.lang.String type)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected java.lang.ObjectreadResolve()java.lang.StringtoString()
-
-
-
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.
-
-