Search Results for

    Show / Hide Table of Contents
    View Source

    Class SmtpSettings

    Typed configuration options for SMTP settings.

    Inheritance
    System.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
    System.Net.Mail.SmtpDeliveryMethod
    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
    System.String
    View Source

    Host

    Gets or sets a value for the SMTP host.

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

    Password

    Gets or sets a value for the SMTP password.

    Declaration
    public string Password { get; set; }
    Property Value
    Type Description
    System.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
    System.String
    View Source

    Port

    Gets or sets a value for the SMTP port.

    Declaration
    public int Port { get; set; }
    Property Value
    Type Description
    System.Int32
    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
    System.String
    • Improve this Doc
    • View Source
    In This Article
    • Properties
      • DeliveryMethod
      • From
      • Host
      • Password
      • PickupDirectoryLocation
      • Port
      • SecureSocketOptions
      • Username
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX