|
Compoze Software, Inc. | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.compoze.exchange.Recipient
This class represents a recipient of a message. Recipients are either constructed with a name, a display name and address, or with an address entry ID.
Field Summary | |
static int |
FLAG_RICH_TEXT
Flag that says that the recipient is capable of receiving rich text emails. |
Constructor Summary | |
Recipient(RecipientType type,
java.lang.String sAddressEntryID)
Constructor. |
|
Recipient(RecipientType type,
java.lang.String sAddress,
java.lang.String sName)
Constructor. |
|
Recipient(RecipientType type,
java.lang.String sAddress,
java.lang.String sName,
int iFlags)
Constructor. |
Method Summary | |
java.lang.String |
getAddress()
Gets the address of the recipient. |
java.lang.String |
getAddressEntryID()
Gets the address entry ID. |
java.lang.String |
getName()
Gets the name of the recipient. |
RecipientType |
getRecipientType()
Gets the recipient type. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final int FLAG_RICH_TEXT
winmail.dat
which will not be useful to them and
they won't be able to receive any of the other attachments.
Constructor Detail |
public Recipient(RecipientType type, java.lang.String sAddress, java.lang.String sName)
null
and use only the name
to resolve addresses. Make sure you resolve the recipients before sending
the message if this is the case.
type
- the recipient type (must not be null
)sAddress
- the recipient address (must not be null
if display name is null
,
example: SMTP:support@compoze.com
, if no
prefix is used SMTP:
is prepended automatically)sName
- the recipient display name (if null
,
email address is used as display name)public Recipient(RecipientType type, java.lang.String sAddress, java.lang.String sName, int iFlags)
null
and use only the name
to resolve addresses. Make sure you resolve the recipients before sending
the message if this is the case.
type
- the recipient type (must not be null
)sAddress
- the recipient address (must not be null
if display name is null
,
example: SMTP:support@compoze.com
, if no
prefix is used SMTP:
is prepended automatically)sName
- the recipient display name (if null
,
email address is used as display name)iFlags
- logical or of the FLAG_
constantspublic Recipient(RecipientType type, java.lang.String sAddressEntryID)
type
- the recipient typesAddressEntryID
- an address entry IDMethod Detail |
public java.lang.String getName()
public java.lang.String getAddress()
public RecipientType getRecipientType()
public java.lang.String getAddressEntryID()
|
Compoze Software, Inc. | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |