C# Class MvcContrib.Services.EmailMetadata

Base class for email models. Derived classes will provide specific values to substitute placeholders in concrete emails. If nothing to substitute, this class can be used directly.
Datei anzeigen Open project: atomicobject/mvccontrib Class Usage Examples

Public Methods

Method Description
EmailMetadata ( ) : System.Collections.Generic

Initializes an empty instance of EmailMetadata.

EmailMetadata ( System.Net.Mail.MailAddress from, System.Net.Mail.MailAddress to ) : System.Collections.Generic

Initializes a new instance of the EmailMetadata class by using the specified "from" and "to" email addresses.

EmailMetadata ( string from, string to ) : System.Collections.Generic

Initializes a new instance of the EmailMetadata class by using the specified "from" and "to" email addresses.

Method Details

EmailMetadata() public method

Initializes an empty instance of EmailMetadata.
public EmailMetadata ( ) : System.Collections.Generic
return System.Collections.Generic

EmailMetadata() public method

Initializes a new instance of the EmailMetadata class by using the specified "from" and "to" email addresses.
public EmailMetadata ( System.Net.Mail.MailAddress from, System.Net.Mail.MailAddress to ) : System.Collections.Generic
from System.Net.Mail.MailAddress A mail address of the sender.
to System.Net.Mail.MailAddress A mail address of the recipient.
return System.Collections.Generic

EmailMetadata() public method

Initializes a new instance of the EmailMetadata class by using the specified "from" and "to" email addresses.
public EmailMetadata ( string from, string to ) : System.Collections.Generic
from string A string that contains email address of the sender.
to string A string that contains email address of the recipient.
return System.Collections.Generic