C# Class sidepop.Mail.SidePOPMailMessage

This class adds a few internet mail headers not already exposed by the System.Net.MailMessage. It also provides support to encapsulate the nested mail attachments in the Children collection.
Inheritance: System.Net.Mail.MailMessage
Datei anzeigen Open project: Octopus-ITSM/sidepop Class Usage Examples

Public Methods

Method Description
CreateMailAddress ( string address ) : System.Net.Mail.MailAddress

Creates the mail address.

CreateMailAddress ( string displayName, string address ) : System.Net.Mail.MailAddress

Creates the mail address.

CreateMailMessageFromEntity ( MimeEntity entity ) : SidePOPMailMessage

Creates the mail message from entity.

PopulateAddressList ( string addressList, MailAddressCollection recipients ) : void

Populates the address list.

SidePOPMailMessage ( ) : System

Initializes a new instance of the SidePOPMailMessage class.

Private Methods

Method Description
GetHeader ( string header ) : string

Gets the header.

GetHeader ( string header, bool stripBrackets ) : string
GetMailAddresses ( string addressList ) : IEnumerable

Gets the mail addresses.

Method Details

CreateMailAddress() public static method

Creates the mail address.
public static CreateMailAddress ( string address ) : System.Net.Mail.MailAddress
address string The address.
return System.Net.Mail.MailAddress

CreateMailAddress() public static method

Creates the mail address.
public static CreateMailAddress ( string displayName, string address ) : System.Net.Mail.MailAddress
displayName string The display name.
address string The address.
return System.Net.Mail.MailAddress

CreateMailMessageFromEntity() public static method

Creates the mail message from entity.
public static CreateMailMessageFromEntity ( MimeEntity entity ) : SidePOPMailMessage
entity sidepop.Mime.MimeEntity The entity.
return SidePOPMailMessage

PopulateAddressList() public static method

Populates the address list.
public static PopulateAddressList ( string addressList, MailAddressCollection recipients ) : void
addressList string The address list.
recipients MailAddressCollection The recipients.
return void

SidePOPMailMessage() public method

Initializes a new instance of the SidePOPMailMessage class.
public SidePOPMailMessage ( ) : System
return System