InMemoryEmail

Namespace: Proffer.Email.InMemory

An object to retain the values of the email that would have been sent.

public class InMemoryEmail

Inheritance ObjectInMemoryEmail

Properties

Subject

Gets or sets the subject.

public string Subject { get; set; }

Property Value

String

MessageText

Gets or sets the message as plain-text.

public string MessageText { get; set; }

Property Value

String

MessageHtml

Gets or sets the message as HTML.

public string MessageHtml { get; set; }

Property Value

String

To

Gets or sets the email recipients.

public IEmailAddress[] To { get; set; }

Property Value

IEmailAddress[]

Cc

Gets or sets the email recipients.

public IEmailAddress[] Cc { get; set; }

Property Value

IEmailAddress[]

Bcc

Gets or sets the BCC email recipients.

public IEmailAddress[] Bcc { get; set; }

Property Value

IEmailAddress[]

From

Gets or sets the sender email address.

public IEmailAddress From { get; set; }

Property Value

IEmailAddress

ReplyTo

Gets or sets the reply-to email address.

public IEmailAddress ReplyTo { get; set; }

Property Value

IEmailAddress

Attachments

Gets or sets the attachments files.

public IEnumerable<IEmailAttachment> Attachments { get; set; }

Property Value

IEnumerable<IEmailAttachment>

Constructors

InMemoryEmail()

public InMemoryEmail()