MapiRecipient

Inheritance: java.lang.Object, com.aspose.email.MapiPropertyContainer

public class MapiRecipient extends MapiPropertyContainer

Represents the recipient information in the Microsoft Outlook Message.

Methods

Method Description
getDisplayName() Gets or sets the display name of the message recipient or sender.
setDisplayName(String value) Gets or sets the display name of the message recipient or sender.
getAddressType() Gets the type of the address of the message recipient or sender.
getEmailAddress() Gets or sets the email address of the message recipient or sender.
setEmailAddress(String value) Gets or sets the email address of the message recipient or sender.
getOrganizationEmailAddress() Gets the organization email address.
getRecipientType() Gets the type of the recipient or sender.
getRecipientClass() Gets the type of recipent.
getPropertyStream() Gets the property stream.
getSubStorages() Gets the sub storages.
getContent() Gets the content.
getRecipientTrackStatus() Status of recipient\u2019s response to a meeting request.
setRecipientTrackStatus(int value) Status of recipient\u2019s response to a meeting request.
createMapiNode(String key) Creates the mapi node.
getNamedProperties() Gets the named properties of message.

getDisplayName()

public final String getDisplayName()

Gets or sets the display name of the message recipient or sender.

Value: The display name.


When setting a value, the values of either MapiMessage.DisplayTo or MapiMessage.DisplayBcc or MapiMessage.DisplayCC are also updated depending on the type of recepient.

Returns: java.lang.String

setDisplayName(String value)

public final void setDisplayName(String value)

Gets or sets the display name of the message recipient or sender.

Value: The display name.


When setting a value, the values of either MapiMessage.DisplayTo or MapiMessage.DisplayBcc or MapiMessage.DisplayCC are also updated depending on the type of recepient.

Parameters:

Parameter Type Description
value java.lang.String

getAddressType()

public final String getAddressType()

Gets the type of the address of the message recipient or sender.

Value: The address type.


This property indicates the type for PR_EMAIL_ADDRESS mapi property.

Returns: java.lang.String

getEmailAddress()

public final String getEmailAddress()

Gets or sets the email address of the message recipient or sender.

Returns: java.lang.String

setEmailAddress(String value)

public final void setEmailAddress(String value)

Gets or sets the email address of the message recipient or sender.

Parameters:

Parameter Type Description
value java.lang.String

getOrganizationEmailAddress()

public final String getOrganizationEmailAddress()

Gets the organization email address.

Value: The organization email address.

Returns: java.lang.String

getRecipientType()

public final int getRecipientType()

Gets the type of the recipient or sender.

Value: The recipient type.

Returns: int

getRecipientClass()

public final int getRecipientClass()

Gets the type of recipent.

Value: The recipient class.

Returns: int

getPropertyStream()

public final MapiPropertyStream getPropertyStream()

Gets the property stream.

Value: The property stream.

Returns: MapiPropertyStream

getSubStorages()

public final MapiPropertyCollection getSubStorages()

Gets the sub storages.

Value: The sub storages.

Returns: MapiPropertyCollection

getContent()

public final Object getContent()

Gets the content.

Value: The content.

Returns: java.lang.Object

getRecipientTrackStatus()

public final int getRecipientTrackStatus()

Status of recipient\u2019s response to a meeting request.

Returns: int

setRecipientTrackStatus(int value)

public final void setRecipientTrackStatus(int value)

Status of recipient\u2019s response to a meeting request.

Parameters:

Parameter Type Description
value int

createMapiNode(String key)

public IMapiNode createMapiNode(String key)

Creates the mapi node.

Parameters:

Parameter Type Description
key java.lang.String The node key.

Returns: com.aspose.email.IMapiNode - The IMapiNode interface.

getNamedProperties()

public final MapiPropertyCollection getNamedProperties()

Gets the named properties of message.

Value: The collection of named properties.

Returns: MapiPropertyCollection