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

A e-mail.
Datei anzeigen Open project: Vanaheimr/Hermod Class Usage Examples

Public Properties

Property Type Description
Bcc EMailAddressList
Body EMailBodypart
Cc EMailAddressList
Date System.DateTime
From EMailAddress
MessageId MessageId
ReplyTo EMailAddressList
Subject String
To EMailAddressList

Public Methods

Method Description
EMail ( AbstractEMailBuilder MailBuilder ) : System

Create a new e-mail based on the given e-mail builder.

GetEMailHeader ( String Key ) : String

Get the e-mail header value for the given key.

Parse ( IEnumerable MailText ) : EMail

Parse an e-mail from the given enumeration of strings.

Private Methods

Method Description
EMail ( String>.IEnumerable MailHeader ) : System
EMail ( IEnumerable MailText ) : System

Parse an e-mail from the given enumeration of strings.

Method Details

EMail() public method

Create a new e-mail based on the given e-mail builder.
public EMail ( AbstractEMailBuilder MailBuilder ) : System
MailBuilder AbstractEMailBuilder An e-mail builder.
return System

GetEMailHeader() public method

Get the e-mail header value for the given key.
public GetEMailHeader ( String Key ) : String
Key String An e-mail header key.
return String

Parse() public static method

Parse an e-mail from the given enumeration of strings.
public static Parse ( IEnumerable MailText ) : EMail
MailText IEnumerable An enumeration of strings.
return EMail

Property Details

Bcc public_oe property

Hidden receivers of the e-mail.
public EMailAddressList Bcc
return EMailAddressList

Body public_oe property

The e-mail body.
public EMailBodypart,org.GraphDefined.Vanaheimr.Hermod.Mail Body
return EMailBodypart

Cc public_oe property

Additional receivers of the e-mail.
public EMailAddressList Cc
return EMailAddressList

Date public_oe property

The sending timestamp of the e-mail.
public DateTime,System Date
return System.DateTime

From public_oe property

The sender of the e-mail.
public EMailAddress,org.GraphDefined.Vanaheimr.Hermod.Mail From
return EMailAddress

MessageId public_oe property

The unique message identification of the e-mail.
public MessageId MessageId
return MessageId

ReplyTo public_oe property

The receivers of any reply on this e-mail.
public EMailAddressList ReplyTo
return EMailAddressList

Subject public_oe property

The subject of the e-mail.
public String Subject
return String

To public_oe property

The receivers of the e-mail.
public EMailAddressList To
return EMailAddressList