API Reference
Class
SmtpAuthAnalysis
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
- Property DomainHealthCheck.SmtpAuthAnalysis
- Property SmtpAuthInfo.Raw
Accepted by parameters
- Method SmtpAuthNarrative.Build
- Method Converters.Convert
Constructors
public SmtpAuthAnalysis() #Methods
public async Task AnalyzeServer(String host, Int32 port, InternalLogger logger, CancellationToken cancellationToken = null) #Returns:
TaskChecks a single server for AUTH capabilities.
Parameters
- host System.String
- port System.Int32
- logger DomainDetective.InternalLogger
- cancellationToken System.Threading.CancellationToken = null
public async Task AnalyzeServers(IEnumerable<String> hosts, Int32 port, InternalLogger logger, CancellationToken cancellationToken = null) #Returns:
TaskChecks multiple servers for AUTH capabilities.
Parameters
- hosts System.Collections.Generic.IEnumerable{System.String}
- port System.Int32
- logger DomainDetective.InternalLogger
- cancellationToken System.Threading.CancellationToken = null
Inherited Methods
public override Boolean Equals(Object obj) #Returns:
BooleanInherited from Object
Parameters
- obj Object
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.