Domain Detective

API Reference

Class

EmailNotificationSender

Namespace DomainDetective.Monitoring
Assembly DomainDetective

Sends notifications via SMTP.

Inheritance

  • Object
  • EmailNotificationSender

Remarks

A plain text email is constructed and sent using the provided SMTP connection information.

Constructors

Methods

public virtual async Task SendAsync(String message, CancellationToken ct = null) #
Returns: Task

Executes the send async operation.

Parameters

message System.String requiredposition: 0
ct System.Threading.CancellationToken = null optionalposition: 1

Properties

public String SmtpHost { get; set; } #

Gets or sets the smtp host value.

public Int32 Port { get; set; } #

Gets or sets the port value.

public Boolean UseSsl { get; set; } #

Gets or sets the use ssl value.

public String From { get; set; } #

Gets or sets the from value.

public String To { get; set; } #

Gets or sets the to value.

public String Username { get; set; } #

Gets or sets the username value.

public String Password { get; set; } #

Gets or sets the password value.

{{ include "footer" }}