Search Results for

    Show / Hide Table of Contents
    View Source

    Class SmtpCheck

    Health check for the recommended setup regarding SMTP.

    Inheritance
    System.Object
    HealthCheck
    Namespace: Umbraco.Cms.Core.HealthChecks.Checks.Services
    Assembly: Umbraco.Core.dll
    Syntax
    public class SmtpCheck : HealthCheck, IDiscoverable

    Constructors

    View Source

    SmtpCheck(ILocalizedTextService, IOptionsMonitor<GlobalSettings>)

    Initializes a new instance of the SmtpCheck class.

    Declaration
    public SmtpCheck(ILocalizedTextService textService, IOptionsMonitor<GlobalSettings> globalSettings)
    Parameters
    Type Name Description
    ILocalizedTextService textService
    IOptionsMonitor<GlobalSettings> globalSettings

    Methods

    View Source

    ExecuteAction(HealthCheckAction)

    Executes the action and returns it's status

    Declaration
    public override HealthCheckStatus ExecuteAction(HealthCheckAction action)
    Parameters
    Type Name Description
    HealthCheckAction action
    Returns
    Type Description
    HealthCheckStatus
    View Source

    GetStatus()

    Get the status for this health check

    Declaration
    public override Task<IEnumerable<HealthCheckStatus>> GetStatus()
    Returns
    Type Description
    Task<IEnumerable<HealthCheckStatus>>
    • Improve this Doc
    • View Source
    In This Article
    • Constructors
      • SmtpCheck(ILocalizedTextService, IOptionsMonitor<GlobalSettings>)
    • Methods
      • ExecuteAction(HealthCheckAction)
      • GetStatus()
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX