Search Results for

    Show / Hide Table of Contents
    View Source

    Class EmailMessageAttachment

    Represents an email attachment with its content stream and file name.

    Inheritance
    object
    Namespace: Umbraco.Cms.Core.Models.Email
    Assembly: Umbraco.Core.dll
    Syntax
    public class EmailMessageAttachment

    Constructors

    View Source

    EmailMessageAttachment(Stream, string)

    Initializes a new instance of the EmailMessageAttachment class.

    Declaration
    public EmailMessageAttachment(Stream stream, string fileName)
    Parameters
    Type Name Description
    Stream stream

    The stream containing the attachment content.

    string fileName

    The name of the attachment file.

    Properties

    View Source

    FileName

    Gets the name of the attachment file.

    Declaration
    public string FileName { get; }
    Property Value
    Type Description
    string
    View Source

    Stream

    Gets the stream containing the attachment content.

    Declaration
    public Stream Stream { get; }
    Property Value
    Type Description
    Stream
    • View Source
    In this article
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX