• Core
  • Infrastructure
  • Web
  • Extensions
Search Results for

    Show / Hide Table of Contents
    View Source

    Class EmailMessage

    Inheritance
    System.Object
    Namespace: Umbraco.Cms.Core.Models.Email
    Assembly: Umbraco.Core.dll
    Syntax
    public class EmailMessage

    Constructors

    View Source

    EmailMessage(String, String, String, String, Boolean)

    Declaration
    public EmailMessage(string from, string to, string subject, string body, bool isBodyHtml)
    Parameters
    Type Name Description
    System.String from
    System.String to
    System.String subject
    System.String body
    System.Boolean isBodyHtml
    View Source

    EmailMessage(String, String[], String[], String[], String[], String, String, Boolean, Nullable<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
    System.String from
    System.String[] to
    System.String[] cc
    System.String[] bcc
    System.String[] replyTo
    System.String subject
    System.String body
    System.Boolean isBodyHtml
    System.Nullable<IEnumerable<EmailMessageAttachment>> attachments

    Properties

    View Source

    Attachments

    Declaration
    public IList<EmailMessageAttachment>? Attachments { get; }
    Property Value
    Type Description
    System.Nullable<IList<EmailMessageAttachment>>
    View Source

    Bcc

    Declaration
    public string[] Bcc { get; }
    Property Value
    Type Description
    System.String[]
    View Source

    Body

    Declaration
    public string Body { get; }
    Property Value
    Type Description
    System.String
    View Source

    Cc

    Declaration
    public string[] Cc { get; }
    Property Value
    Type Description
    System.String[]
    View Source

    From

    Declaration
    public string From { get; }
    Property Value
    Type Description
    System.String
    View Source

    HasAttachments

    Declaration
    public bool HasAttachments { get; }
    Property Value
    Type Description
    System.Boolean
    View Source

    IsBodyHtml

    Declaration
    public bool IsBodyHtml { get; }
    Property Value
    Type Description
    System.Boolean
    View Source

    ReplyTo

    Declaration
    public string[] ReplyTo { get; }
    Property Value
    Type Description
    System.String[]
    View Source

    Subject

    Declaration
    public string Subject { get; }
    Property Value
    Type Description
    System.String
    View Source

    To

    Declaration
    public string[] To { get; }
    Property Value
    Type Description
    System.String[]
    • Improve this Doc
    • View Source
    In This Article
    • Constructors
      • EmailMessage(String, String, String, String, Boolean)
      • EmailMessage(String, String[], String[], String[], String[], String, String, Boolean, Nullable<IEnumerable<EmailMessageAttachment>>)
    • Properties
      • Attachments
      • Bcc
      • Body
      • Cc
      • From
      • HasAttachments
      • IsBodyHtml
      • ReplyTo
      • Subject
      • To
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX