Represents an email address that can be used when calling SendInsecureMessageFromApplication.
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.
Creates a new instance of the MailRecipient class with the specified email address and display name.
Gets or sets the display name of the person to which the email will be sent.
Gets or sets the email address of the person who receives the email.
Gets the XML representation of the email recipient as a string.
Writes the XML representation of the email recipient into the specified XML writer.