javax.mail

Class Message.RecipientType

public static class Message.RecipientType extends Object implements Serializable

Enumeration of types of recipients allowed by the Message class.
Field Summary
static Message.RecipientTypeBCC
A "Bcc" or blind carbon-copy recipient.
static Message.RecipientTypeCC
A "Cc" or carbon-copy recipient.
protected Stringtype
static Message.RecipientTypeTO
A "To" or primary recipient.
Constructor Summary
protected RecipientType(String type)
Method Summary
protected ObjectreadResolve()
StringtoString()

Field Detail

BCC

public static final Message.RecipientType BCC
A "Bcc" or blind carbon-copy recipient.

CC

public static final Message.RecipientType CC
A "Cc" or carbon-copy recipient.

type

protected String type

TO

public static final Message.RecipientType TO
A "To" or primary recipient.

Constructor Detail

RecipientType

protected RecipientType(String type)

Method Detail

readResolve

protected Object readResolve()

toString

public String toString()