Search Results for

    Show / Hide Table of Contents

    Enum SecureSocketOptions

    Matches MailKit.Security.SecureSocketOptions and defined locally to avoid having to take a dependency on this external library into Umbraco.Core.

    Namespace: Umbraco.Cms.Core.Configuration.Models
    Assembly: Umbraco.Core.dll
    Syntax
    public enum SecureSocketOptions

    Fields

    Name Description
    Auto

    Allow the IMailService to decide which SSL or TLS options to use (default). If the server does not support SSL or TLS, then the connection will continue without any encryption.

    None

    No SSL or TLS encryption should be used.

    SslOnConnect

    The connection should use SSL or TLS encryption immediately.

    StartTls

    Elevates the connection to use TLS encryption immediately after reading the greeting and capabilities of the server. If the server does not support the STARTTLS extension, then the connection will fail and a NotSupportedException will be thrown.

    StartTlsWhenAvailable

    Elevates the connection to use TLS encryption immediately after reading the greeting and capabilities of the server, but only if the server supports the STARTTLS extension.

    Extension Methods

    DictionaryExtensions.MergeLeft<SecureSocketOptions, TK, TV>(IEnumerable<IDictionary<TK, TV>>, Boolean)
    DictionaryExtensions.MergeLeft<SecureSocketOptions, TK, TV>(IDictionary<TK, TV>, Boolean)
    EnumerableExtensions.Yield<SecureSocketOptions>()
    ObjectExtensions.AsEnumerableOfOne<SecureSocketOptions>()
    ObjectExtensions.DisposeIfDisposable()
    ObjectExtensions.SafeCast<T>()
    ObjectExtensions.TryConvertTo<T>()
    ObjectExtensions.TryConvertTo(Type)
    ObjectExtensions.ToDictionary<SecureSocketOptions, TProperty, TVal>(Expression<Func<SecureSocketOptions, TProperty>>[])
    ObjectExtensions.ToDictionary<TVal>(String[])
    ObjectExtensions.ToXmlString(Type)
    ObjectExtensions.ToXmlString<T>()
    ObjectExtensions.AsGuid()
    ExpressionHelper.GetPropertyInfo<SecureSocketOptions, TProperty>(Expression<Func<SecureSocketOptions, TProperty>>)
    • Improve this Doc
    • View Source
    In This Article
    • Fields
    • Extension Methods
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX