Search Results for

    Show / Hide Table of Contents
    View Source

    Class NotificationEmailModel

    Represents an email when sent with notifications.

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

    Constructors

    View Source

    NotificationEmailModel(NotificationEmailAddress, Nullable<IEnumerable<NotificationEmailAddress>>, Nullable<IEnumerable<NotificationEmailAddress>>, Nullable<IEnumerable<NotificationEmailAddress>>, Nullable<IEnumerable<NotificationEmailAddress>>, String, String, Nullable<IEnumerable<EmailMessageAttachment>>, Boolean)

    Declaration
    public NotificationEmailModel(NotificationEmailAddress from, IEnumerable<NotificationEmailAddress>? to, IEnumerable<NotificationEmailAddress>? cc, IEnumerable<NotificationEmailAddress>? bcc, IEnumerable<NotificationEmailAddress>? replyTo, string subject, string body, IEnumerable<EmailMessageAttachment>? attachments, bool isBodyHtml)
    Parameters
    Type Name Description
    NotificationEmailAddress from
    System.Nullable<IEnumerable<NotificationEmailAddress>> to
    System.Nullable<IEnumerable<NotificationEmailAddress>> cc
    System.Nullable<IEnumerable<NotificationEmailAddress>> bcc
    System.Nullable<IEnumerable<NotificationEmailAddress>> replyTo
    System.String subject
    System.String body
    System.Nullable<IEnumerable<EmailMessageAttachment>> attachments
    System.Boolean isBodyHtml

    Properties

    View Source

    Attachments

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

    Bcc

    Declaration
    public IEnumerable<NotificationEmailAddress>? Bcc { get; }
    Property Value
    Type Description
    System.Nullable<IEnumerable<NotificationEmailAddress>>
    View Source

    Body

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

    Cc

    Declaration
    public IEnumerable<NotificationEmailAddress>? Cc { get; }
    Property Value
    Type Description
    System.Nullable<IEnumerable<NotificationEmailAddress>>
    View Source

    From

    Declaration
    public NotificationEmailAddress From { get; }
    Property Value
    Type Description
    NotificationEmailAddress
    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 IEnumerable<NotificationEmailAddress>? ReplyTo { get; }
    Property Value
    Type Description
    System.Nullable<IEnumerable<NotificationEmailAddress>>
    View Source

    Subject

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

    To

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