Domain Detective

API Reference

Class

SmtpAuthAnalysis

Namespace DomainDetective
Assembly DomainDetective
Implements

Retrieves advertised AUTH mechanisms from SMTP servers.

Inheritance

  • Object
  • SmtpAuthAnalysis

Usage

This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.

Returned or exposed by

Accepted by parameters

Constructors

Methods

public async Task AnalyzeServer(String host, Int32 port, InternalLogger logger, CancellationToken cancellationToken = null) #
Returns: Task

Checks a single server for AUTH capabilities.

Parameters

host System.String requiredposition: 0
port System.Int32 requiredposition: 1
logger DomainDetective.InternalLogger requiredposition: 2
cancellationToken System.Threading.CancellationToken = null optionalposition: 3
public async Task AnalyzeServers(IEnumerable<String> hosts, Int32 port, InternalLogger logger, CancellationToken cancellationToken = null) #
Returns: Task

Checks multiple servers for AUTH capabilities.

Parameters

hosts System.Collections.Generic.IEnumerable{System.String} requiredposition: 0
port System.Int32 requiredposition: 1
logger DomainDetective.InternalLogger requiredposition: 2
cancellationToken System.Threading.CancellationToken = null optionalposition: 3

Properties

public String Subject { get; set; } #

Subject of the check (usually domain name).

public Dictionary<String, String[]> ServerMechanisms { get; } #

Supported authentication methods per server.

public Dictionary<String, String[]> ServerCapabilities { get; } #

Advertised capabilities per server.

public Boolean InspectCapabilities { get; set; } #

Whether to capture EHLO capabilities.

public TimeSpan Timeout { get; set; } #

Connection timeout.

public virtual List<Assessment> Assessments { get; } #

Gets the assessments value.

public IReadOnlyList<RecommendationAdvice> Recommendations { get; } #

Represents the recommendations value.

{{ include "footer" }}