Interface IEmailMessage
Interface for an email message.
Inherited Members
Namespace: Kephas.Mail
Assembly: Kephas.Mail.dll
Syntax
public interface IEmailMessage : IIndexable
Properties
| Improve this Doc View SourceAttachments
Gets the attachments of the email.
Declaration
IEnumerable<IEmailAttachment> Attachments { get; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.IEnumerable<IEmailAttachment> |
Bcc
Gets the addresses of the 'BCC' recipients.
Declaration
IEnumerable<IEmailAddress> Bcc { get; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.IEnumerable<IEmailAddress> |
BodyHtml
Gets or sets the HTML body of the email.
Declaration
string BodyHtml { get; set; }
Property Value
Type | Description |
---|---|
System.String |
BodyText
Gets or sets the text body of the email.
Declaration
string BodyText { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Cc
Gets the addresses of the 'CC' recipients.
Declaration
IEnumerable<IEmailAddress> Cc { get; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.IEnumerable<IEmailAddress> |
From
Gets the 'on behalf' sender of the email.
Declaration
IEnumerable<IEmailAddress> From { get; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.IEnumerable<IEmailAddress> |
Sender
Gets or sets the sender's address.
Declaration
IEmailAddress Sender { get; set; }
Property Value
Type | Description |
---|---|
IEmailAddress |
Subject
Gets or sets the subject of the mail.
Declaration
string Subject { get; set; }
Property Value
Type | Description |
---|---|
System.String |
To
Gets the addresses of the 'To' recipients.
Declaration
IEnumerable<IEmailAddress> To { get; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.IEnumerable<IEmailAddress> |