View Source
Class EmailMessage
Assembly: Umbraco.Core.dll
Syntax
public class EmailMessage
Constructors
View Source
EmailMessage(string?, string?, string?, string?, bool)
Declaration
public EmailMessage(string? from, string? to, string? subject, string? body, bool isBodyHtml)
Parameters
| Type |
Name |
Description |
| string |
from |
|
| string |
to |
|
| string |
subject |
|
| string |
body |
|
| bool |
isBodyHtml |
|
View Source
EmailMessage(string?, string?[], string[]?, string[]?, string[]?, string?, string?, bool, IEnumerable<EmailMessageAttachment>?)
Declaration
public EmailMessage(string? from, string?[] to, string[]? cc, string[]? bcc, string[]? replyTo, string? subject, string? body, bool isBodyHtml, IEnumerable<EmailMessageAttachment>? attachments)
Parameters
| Type |
Name |
Description |
| string |
from |
|
| string[] |
to |
|
| string[] |
cc |
|
| string[] |
bcc |
|
| string[] |
replyTo |
|
| string |
subject |
|
| string |
body |
|
| bool |
isBodyHtml |
|
| IEnumerable<EmailMessageAttachment> |
attachments |
|
Properties
View Source
Attachments
Declaration
public IList<EmailMessageAttachment>? Attachments { get; }
Property Value
View Source
Bcc
Declaration
public string[]? Bcc { get; }
Property Value
| Type |
Description |
| string[] |
|
View Source
Body
Declaration
public string? Body { get; }
Property Value
View Source
Cc
Declaration
public string[]? Cc { get; }
Property Value
| Type |
Description |
| string[] |
|
View Source
From
Declaration
public string? From { get; }
Property Value
View Source
HasAttachments
Declaration
public bool HasAttachments { get; }
Property Value
View Source
IsBodyHtml
Declaration
public bool IsBodyHtml { get; }
Property Value
View Source
ReplyTo
Declaration
public string[]? ReplyTo { get; }
Property Value
| Type |
Description |
| string[] |
|
View Source
Subject
Declaration
public string? Subject { get; }
Property Value
View Source
To
Declaration
public string?[] To { get; }
Property Value
| Type |
Description |
| string[] |
|