public class MapiRecipient extends MapiPropertyContainer
Represents the recipient information in the Microsoft Outlook Message.
Modifier and Type | Method and Description |
---|---|
com.aspose.email.IMapiNode |
createMapiNode(String key)
Creates the mapi node.
|
String |
getAddressType()
Gets the type of the address of
the message recipient or sender.
|
Object |
getContent()
Gets the content.
|
String |
getDisplayName()
Gets or sets the display name of the message
recipient or sender.
|
String |
getEmailAddress()
Gets or sets the email address of the
message recipient or sender.
|
String |
getOrganizationEmailAddress()
Gets the organization email address.
|
MapiPropertyStream |
getPropertyStream()
Gets the property stream.
|
int |
getRecipientClass()
Gets the type of recipent.
|
int |
getRecipientType()
Gets the type of the recipient or sender.
|
MapiPropertyCollection |
getSubStorages()
Gets the sub storages.
|
void |
setDisplayName(String value) |
void |
setEmailAddress(String value) |
void |
setProperty(MapiAttachment value,
long signed,
long key)
Sets the property.
|
void |
setProperty(MapiProperty property)
Sets the property.
|
void |
setProperty(MapiProperty value,
long signed,
long tag)
Sets the property.
|
void |
setProperty(MapiPropertyStream value,
long signed,
long key)
Sets the property.
|
void |
setProperty(MapiRecipient value,
long signed,
long key)
Sets the property.
|
void |
setPropertySet(MapiProperty value,
long signed,
long tag)
Sets the property set.
|
getCodePage, getMyProperties, getProperties, getPropertyBoolean, getPropertyBytes, getPropertyDateTime, getPropertyInt32, getPropertyLong, getPropertyShort, getPropertyString, getPropertyString, isStoreUnicodeOk, setNamedPropertyMapping, setProperty, tryGetPropertyData, tryGetPropertyDateTime, tryGetPropertyInt32, tryGetPropertyLong, tryGetPropertyString, tryGetPropertyString, tryGetPropertyString, tryGetPropertyString
public String getDisplayName()
Gets or sets the display name of the message recipient or sender.
Value: The display name.public void setDisplayName(String value)
public String getAddressType()
Gets the type of the address of the message recipient or sender.
Value: The address type.public String getEmailAddress()
Gets or sets the email address of the message recipient or sender.
com.aspose.email.ms.System.IllegalArgumentException
- throws if recipient address is null or empty.com.aspose.email.ms.System.IllegalArgumentException
- throws if recipient address is not in a recognized format.
Value:
The email address.
public void setEmailAddress(String value)
public String getOrganizationEmailAddress()
Gets the organization email address.
Value: The organization email address.public int getRecipientType()
Gets the type of the recipient or sender.
Value: The recipient type.public int getRecipientClass()
Gets the type of recipent.
Value: The recipient class.public MapiPropertyStream getPropertyStream()
Gets the property stream.
Value: The property stream.public MapiPropertyCollection getSubStorages()
Gets the sub storages.
Value: The sub storages.public Object getContent()
Gets the content.
Value: The content.public void setProperty(MapiProperty property)
Sets the property.
setProperty
in class MapiPropertyContainer
property
- The property.com.aspose.email.ms.System.IllegalArgumentException
- If property
is null.com.aspose.email.ms.System.IllegalArgumentException
- If property data is null.IllegalStateException
- If data type is not supported.public void setProperty(MapiAttachment value, long signed, long key)
Sets the property.
setProperty
in class MapiPropertyContainer
value
- The property value.signed
- The signed.key
- The property tag.public void setProperty(MapiRecipient value, long signed, long key)
Sets the property.
setProperty
in class MapiPropertyContainer
value
- The property value.signed
- The signed.key
- The property tag.public void setProperty(MapiProperty value, long signed, long tag)
Sets the property.
setProperty
in class MapiPropertyContainer
value
- The property value.signed
- The signed.tag
- The property tag.public void setPropertySet(MapiProperty value, long signed, long tag)
Sets the property set.
setPropertySet
in class MapiPropertyContainer
value
- The proeprty value.signed
- The signed.tag
- The property tag.public void setProperty(MapiPropertyStream value, long signed, long key)
Sets the property.
setProperty
in class MapiPropertyContainer
value
- The property value.signed
- The signed.key
- The property tag.public com.aspose.email.IMapiNode createMapiNode(String key)
Creates the mapi node.
createMapiNode
in class MapiPropertyContainer
key
- The node key.Copyright (c) 2008-2013 Aspose Pty Ltd. All Rights Reserved.