Package com.independentsoft.msg
Class Recipient
java.lang.Object
com.independentsoft.msg.Recipient
Represents a user or resource, generally a mail message addressee.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets the recipient's e-mail address type, such as Simple Mail Transfer Protocol (SMTP).Gets the display name of the recipient.Gets a 7-bit ASCII representation of the recipient's display name.Gets a value used to associate an icon with a particular row of a table.Gets the recipient's e-mail address.byte[]Gets the EntryID of the recipient.byte[]Gets a value that uniquely identifies a row in a table.Gets the type of the recipient.Gets the originating address type.Gets the originating email address.Gets the recipient type for a message recipient.booleanGets true if some transport provider has already accepted responsibility for delivering the message to this recipient, and false if the MAPI spooler considers that this transport provider should accept responsibility.byte[]Gets a binary-comparable key that identifies correlated objects for a search.intGets a bitmask of encoding preferences.booleanGets true if the recipient can receive all message content, including Rich Text Format (RTF) and Object Linking and Embedding (OLE) objects.Gets SMTP email address.Gets a recipient's display name in a secure form that cannot be changed.voidsetAddressType(String addressType)Sets the recipient's e-mail address type, such as Simple Mail Transfer Protocol (SMTP).voidsetDisplayName(String displayName)Sets the display name of the recipient.voidsetDisplayName7Bit(String displayName7Bit)Sets a 7-bit ASCII representation of the recipient's display name.voidsetDisplayType(DisplayType displayType)Sets a value used to associate an icon with a particular row of a table.voidsetEmailAddress(String emailAddress)Sets the recipient's e-mail address.voidsetEntryId(byte[] entryId)Sets the EntryID of the recipient.voidsetInstanceKey(byte[] instanceKey)Sets a value that uniquely identifies a row in a table.voidsetObjectType(ObjectType objectType)Sets the type of the recipient.voidsetOriginatingAddressType(String originatingAddressType)Sets the originating address type.voidsetOriginatingEmailAddress(String originatingEmailAddress)Sets the originating email address.voidsetRecipientType(RecipientType recipientType)Sets the recipient type for a message recipient.voidsetResponsibility(boolean responsibility)Sets true if some transport provider has already accepted responsibility for delivering the message to this recipient, and false if the MAPI spooler considers that this transport provider should accept responsibility.voidsetSearchKey(byte[] searchKey)Sets a binary-comparable key that identifies correlated objects for a search.voidsetSendInternetEncoding(int sendInternetEncoding)Sets a bitmask of encoding preferences.voidsetSendRichInfo(boolean sendRichInfo)Sets true if the recipient can receive all message content, including Rich Text Format (RTF) and Object Linking and Embedding (OLE) objects.voidsetSmtpAddress(String smtpAddress)Sets SMTP email address.voidsetTransmitableDisplayName(String transmitableDisplayName)Sets a recipient's display name in a secure form that cannot be changed.
-
Constructor Details
-
Recipient
public Recipient()Initializes a new instance of the Recipient class.
-
-
Method Details
-
getDisplayName
Gets the display name of the recipient.- Returns:
- the display name
-
setDisplayName
Sets the display name of the recipient.- Parameters:
displayName- the new display name
-
getEmailAddress
Gets the recipient's e-mail address.- Returns:
- the email address
-
setEmailAddress
Sets the recipient's e-mail address.- Parameters:
emailAddress- the new email address
-
getAddressType
Gets the recipient's e-mail address type, such as Simple Mail Transfer Protocol (SMTP).- Returns:
- the address type
-
setAddressType
Sets the recipient's e-mail address type, such as Simple Mail Transfer Protocol (SMTP).- Parameters:
addressType- the new address type
-
getObjectType
Gets the type of the recipient.- Returns:
- the object type
-
setObjectType
Sets the type of the recipient.- Parameters:
objectType- the new object type
-
getRecipientType
Gets the recipient type for a message recipient.- Returns:
- the recipient type
-
setRecipientType
Sets the recipient type for a message recipient.- Parameters:
recipientType- the new recipient type
-
getDisplayType
Gets a value used to associate an icon with a particular row of a table.- Returns:
- the display type
-
setDisplayType
Sets a value used to associate an icon with a particular row of a table.- Parameters:
displayType- the new display type
-
getEntryId
public byte[] getEntryId()Gets the EntryID of the recipient.- Returns:
- the entry id
-
setEntryId
public void setEntryId(byte[] entryId)Sets the EntryID of the recipient.- Parameters:
entryId- the new entry id
-
getInstanceKey
public byte[] getInstanceKey()Gets a value that uniquely identifies a row in a table.- Returns:
- the instance key
-
setInstanceKey
public void setInstanceKey(byte[] instanceKey)Sets a value that uniquely identifies a row in a table.- Parameters:
instanceKey- the new instance key
-
getSearchKey
public byte[] getSearchKey()Gets a binary-comparable key that identifies correlated objects for a search.- Returns:
- the search key
-
setSearchKey
public void setSearchKey(byte[] searchKey)Sets a binary-comparable key that identifies correlated objects for a search.- Parameters:
searchKey- the new search key
-
getResponsibility
public boolean getResponsibility()Gets true if some transport provider has already accepted responsibility for delivering the message to this recipient, and false if the MAPI spooler considers that this transport provider should accept responsibility.- Returns:
- the responsibility
-
setResponsibility
public void setResponsibility(boolean responsibility)Sets true if some transport provider has already accepted responsibility for delivering the message to this recipient, and false if the MAPI spooler considers that this transport provider should accept responsibility.- Parameters:
responsibility- the new responsibility
-
getSmtpAddress
Gets SMTP email address.- Returns:
- the smtp address
-
setSmtpAddress
Sets SMTP email address.- Parameters:
smtpAddress- the new smtp address
-
getDisplayName7Bit
Gets a 7-bit ASCII representation of the recipient's display name.- Returns:
- the display name7 bit
-
setDisplayName7Bit
Sets a 7-bit ASCII representation of the recipient's display name.- Parameters:
displayName7Bit- the new display name7 bit
-
getTransmitableDisplayName
Gets a recipient's display name in a secure form that cannot be changed.- Returns:
- the transmitable display name
-
setTransmitableDisplayName
Sets a recipient's display name in a secure form that cannot be changed.- Parameters:
transmitableDisplayName- the new transmitable display name
-
getSendRichInfo
public boolean getSendRichInfo()Gets true if the recipient can receive all message content, including Rich Text Format (RTF) and Object Linking and Embedding (OLE) objects.- Returns:
- the send rich info
-
setSendRichInfo
public void setSendRichInfo(boolean sendRichInfo)Sets true if the recipient can receive all message content, including Rich Text Format (RTF) and Object Linking and Embedding (OLE) objects.- Parameters:
sendRichInfo- the new send rich info
-
getSendInternetEncoding
public int getSendInternetEncoding()Gets a bitmask of encoding preferences.- Returns:
- the send internet encoding
-
setSendInternetEncoding
public void setSendInternetEncoding(int sendInternetEncoding)Sets a bitmask of encoding preferences.- Parameters:
sendInternetEncoding- the new send internet encoding
-
getOriginatingAddressType
Gets the originating address type.- Returns:
- the originating address type
-
setOriginatingAddressType
Sets the originating address type.- Parameters:
originatingAddressType- the new originating address type
-
getOriginatingEmailAddress
Gets the originating email address.- Returns:
- the originating email address
-
setOriginatingEmailAddress
Sets the originating email address.- Parameters:
originatingEmailAddress- the new originating email address
-