javax.mail

Class Message.RecipientType

Enclosing Class:
Message
Implemented Interfaces:
Serializable

public static class Message.RecipientType
extends java.lang.Object
implements Serializable

Enumeration of types of recipients allowed by the Message class.

Field Summary

static Message.RecipientType
BCC
A "Bcc" or blind carbon-copy recipient.
static Message.RecipientType
CC
A "Cc" or carbon-copy recipient.
static Message.RecipientType
TO
A "To" or primary recipient.
protected String
type

Constructor Summary

RecipientType(String type)

Method Summary

protected Object
readResolve()
String
toString()

Field Details

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.

TO

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

type

protected String type

Constructor Details

RecipientType

protected RecipientType(String type)

Method Details

readResolve

protected Object readResolve()
            throws ObjectStreamException

toString

public String toString()