Search Results for

    Show / Hide Table of Contents
    View Source

    Class SmtpSettings

    Typed configuration options for SMTP settings.

    Inheritance
    object
    ValidatableEntryBase
    Namespace: Umbraco.Cms.Core.Configuration.Models
    Assembly: Umbraco.Core.dll
    Syntax
    public class SmtpSettings : ValidatableEntryBase

    Properties

    View Source

    DeliveryMethod

    Gets or sets a value for the SMTP delivery method.

    Declaration
    public SmtpDeliveryMethod DeliveryMethod { get; set; }
    Property Value
    Type Description
    SmtpDeliveryMethod
    View Source

    EmailExpiration

    Gets or sets a value for the time until an email expires.

    Declaration
    public TimeSpan? EmailExpiration { get; set; }
    Property Value
    Type Description
    TimeSpan?
    View Source

    From

    Gets or sets a value for the SMTP from address to use for messages.

    Declaration
    [Required]
    [EmailAddress]
    public string From { get; set; }
    Property Value
    Type Description
    string
    View Source

    Host

    Gets or sets a value for the SMTP host.

    Declaration
    public string? Host { get; set; }
    Property Value
    Type Description
    string
    View Source

    Password

    Gets or sets a value for the SMTP password.

    Declaration
    public string? Password { get; set; }
    Property Value
    Type Description
    string
    View Source

    PickupDirectoryLocation

    Gets or sets a value for the SMTP pick-up directory.

    Declaration
    public string? PickupDirectoryLocation { get; set; }
    Property Value
    Type Description
    string
    View Source

    Port

    Gets or sets a value for the SMTP port.

    Declaration
    public int Port { get; set; }
    Property Value
    Type Description
    int
    View Source

    SecureSocketOptions

    Gets or sets a value for the secure socket options.

    Declaration
    public SecureSocketOptions SecureSocketOptions { get; set; }
    Property Value
    Type Description
    SecureSocketOptions
    View Source

    Username

    Gets or sets a value for the SMTP user name.

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