MapiMessage.SenderSmtpAddress

MapiMessage.SenderSmtpAddress property

Gets or sets the message sender’s e-mail address.

public string SenderSmtpAddress { get; set; }

Property Value

The string that represents sender email address.

Exceptions

exceptioncondition
ArgumentExceptionthrows if sender address is not in a recognized format.

Remarks

When setting a value, the values of PR_SENDER_SEARCH_KEY and PR_SENDER_ENTRYID properties are updated as well. When setting a null value or empty string, the values of properties are set null.

See Also