Represents an email address that can be used when calling SendInsecureMessageFromApplication.
public class MailRecipient
type MailRecipient = class
Public Class MailRecipient
The MailRecipient class contains the email address and the display name of the person to whom the mail is being sent. It provides the methods to get the XML representation that adheres to the schema for the SendInsecureMessageFromApplication method.
|MailRecipient(String, String) MailRecipient(String, String) MailRecipient(String, String)||
Creates a new instance of the MailRecipient class with the specified email address and display name.
|DisplayName DisplayName DisplayName||
Gets or sets the display name of the person to which the email will be sent.
|EmailAddress EmailAddress EmailAddress||
Gets or sets the email address of the person who receives the email.
|ToString() ToString() ToString()||
Gets the XML representation of the email recipient as a string.
|WriteXml(XmlWriter) WriteXml(XmlWriter) WriteXml(XmlWriter)||
Writes the XML representation of the email recipient into the specified XML writer.