javax.mail

Class Message.RecipientType

public static class Message.RecipientType extends Object implements 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.
Field Summary
static Message.RecipientTypeBCC
"Blind" carbon-copy recipients.
static Message.RecipientTypeCC
Carbon-copy recipients.
protected Stringtype
The type of recipient.
static Message.RecipientTypeTO
Primary recipients.
Constructor Summary
protected RecipientType(String type)
Method Summary
protected ObjectreadResolve()
StringtoString()

Field Detail

BCC

public static final Message.RecipientType BCC
"Blind" carbon-copy recipients. This type of recipient is hidden from other recipients of the message.

CC

public static final Message.RecipientType CC
Carbon-copy recipients.

type

protected String type
The type of recipient.

TO

public static final Message.RecipientType TO
Primary recipients.

Constructor Detail

RecipientType

protected RecipientType(String type)

Method Detail

readResolve

protected Object readResolve()

toString

public String toString()
©