InMemoryEmail
Namespace: Proffer.Email.InMemory
An object to retain the values of the email that would have been sent.
public class InMemoryEmail
Inheritance Object → InMemoryEmail
Properties
Subject
Gets or sets the subject.
public string Subject { get; set; }
Property Value
MessageText
Gets or sets the message as plain-text.
public string MessageText { get; set; }
Property Value
MessageHtml
Gets or sets the message as HTML.
public string MessageHtml { get; set; }
Property Value
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
Constructors
InMemoryEmail()
public InMemoryEmail()