MapiRecipient.EmailAddress
Contents
[
Hide
]MapiRecipient.EmailAddress property
Gets or sets the email address of the message recipient or sender.
public string EmailAddress { get; set; }
Property Value
The email address.
Exceptions
exception | condition |
---|---|
ArgumentNullException | throws if recipient address is null or empty. |
ArgumentException | throws if recipient address is not in a recognized format. |
Remarks
Note, this property displays an address in SMTP format. It means that if MapiRecipient.AddressType == “EX” and MapiPropertyTag.PR_EMAIL_ADDRESS contain an address in Exchange-style, the value for mapiRecipient.EmailAddress property filling is picked from PR_SMTP_ADDRESS. When setting a value, the values of PR_SEARCH_KEY and PR_ENTRYID properties are updated as well.
See Also
- class MapiRecipient
- namespace Aspose.Email.Mapi
- assembly Aspose.Email