C# Class org.GraphDefined.Vanaheimr.Hermod.Mail.EMailBodypart

A part of an e-mail body.
More or less an embedded e-mail for its own.
Inheritance: AbstractEMail
Mostra file Open project: Vanaheimr/Hermod Class Usage Examples

Public Methods

Method Description
EMailBodypart ( AbstractEMailBuilder EMailBuilder, IEnumerable Content = null, IEnumerable NestedBodyparts = null ) : System

Create a new e-mail bodypart.

EMailBodypart ( MailContentType>.Func ContentTypeBuilder, String ContentTransferEncoding = null, String ContentLanguage = null, String ContentDescription = null, String ContentDisposition = null, String MIMEBoundary = null, IEnumerable NestedBodyparts = null, IEnumerable Content = null ) : System

Create a new e-mail bodypart.

EMailBodypart ( IEnumerable MailText ) : System

Parse the e-mail from the given text lines.

ToString ( ) : String
ToText ( System.Boolean IncludeHeaders = true ) : IEnumerable

Method Details

EMailBodypart() public method

Create a new e-mail bodypart.
public EMailBodypart ( AbstractEMailBuilder EMailBuilder, IEnumerable Content = null, IEnumerable NestedBodyparts = null ) : System
EMailBuilder AbstractEMailBuilder
Content IEnumerable
NestedBodyparts IEnumerable
return System

EMailBodypart() public method

Create a new e-mail bodypart.
public EMailBodypart ( MailContentType>.Func ContentTypeBuilder, String ContentTransferEncoding = null, String ContentLanguage = null, String ContentDescription = null, String ContentDisposition = null, String MIMEBoundary = null, IEnumerable NestedBodyparts = null, IEnumerable Content = null ) : System
ContentTypeBuilder MailContentType>.Func
ContentTransferEncoding String
ContentLanguage String
ContentDescription String
ContentDisposition String
MIMEBoundary String
NestedBodyparts IEnumerable
Content IEnumerable
return System

EMailBodypart() public method

Parse the e-mail from the given text lines.
public EMailBodypart ( IEnumerable MailText ) : System
MailText IEnumerable The E-Mail as an enumeration of strings.
return System

ToString() public method

public ToString ( ) : String
return String

ToText() public method

public ToText ( System.Boolean IncludeHeaders = true ) : IEnumerable
IncludeHeaders System.Boolean
return IEnumerable