Table of Contents

Class EmailSettings

Namespace
Ando.Server.Configuration
Assembly
Ando.Server.dll

Root configuration for email services.

public class EmailSettings
Inheritance
EmailSettings
Inherited Members

Fields

SectionName

Configuration section name in appsettings.json.

public const string SectionName = "Email"

Field Value

string

Properties

FromAddress

Email address to send from (must be verified/authorized by provider).

public string FromAddress { get; set; }

Property Value

string

FromName

Display name for the from address.

public string FromName { get; set; }

Property Value

string

Provider

Which email provider to use.

public EmailProvider Provider { get; set; }

Property Value

EmailProvider

Resend

Settings for Resend provider.

public ResendProviderSettings Resend { get; set; }

Property Value

ResendProviderSettings

Smtp

Settings for SMTP provider.

public SmtpProviderSettings Smtp { get; set; }

Property Value

SmtpProviderSettings