C# Класс Papercut.Smtp.Mime.MailMessageEx

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.
Наследование: System.Net.Mail.MailMessage
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
CreateMailAddress ( string address ) : System.Net.Mail.MailAddress

Creates the mail address.

CreateMailMessageFromEntity ( MimeEntity entity ) : MailMessageEx

Creates the mail message from entity.

MailMessageEx ( ) : System

Initializes a new instance of the MailMessageEx class.

PopulateAddressList ( string addressList, MailAddressCollection recipients ) : void

Populates the address list.

Приватные методы

Метод Описание
GetHeader ( string header, bool stripBrackets = false ) : string

The get header.

GetMailAddresses ( string addressList ) : IEnumerable

Gets the mail addresses.

Описание методов

CreateMailAddress() публичный статический Метод

Creates the mail address.
public static CreateMailAddress ( string address ) : System.Net.Mail.MailAddress
address string /// The address. ///
Результат System.Net.Mail.MailAddress

CreateMailMessageFromEntity() публичный статический Метод

Creates the mail message from entity.
public static CreateMailMessageFromEntity ( MimeEntity entity ) : MailMessageEx
entity MimeEntity /// The entity. ///
Результат MailMessageEx

MailMessageEx() публичный Метод

Initializes a new instance of the MailMessageEx class.
public MailMessageEx ( ) : System
Результат System

PopulateAddressList() публичный статический Метод

Populates the address list.
public static PopulateAddressList ( string addressList, MailAddressCollection recipients ) : void
addressList string /// The address list. ///
recipients MailAddressCollection /// The recipients. ///
Результат void