javax.mail

Class Message.RecipientType

Enclosing Class:
Message
Implemented Interfaces:
Serializable
Known Direct Subclasses:
MimeMessage.RecipientType

public static class Message.RecipientType
extends java.lang.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.RecipientType
BCC
"Blind" carbon-copy recipients.
static Message.RecipientType
CC
Carbon-copy recipients.
static Message.RecipientType
TO
Primary recipients.
protected String
type
The type of recipient.

Constructor Summary

RecipientType(String type)

Method Summary

protected Object
readResolve()
String
toString()

Field Details

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.

TO

public static final Message.RecipientType TO
Primary recipients.

type

protected String type
The type of recipient.

Constructor Details

RecipientType

protected RecipientType(String type)

Method Details

readResolve

protected Object readResolve()
            throws ObjectStreamException

toString

public String toString()

© Copyright 2003, 2004 The Free Software Foundation, All rights reserved