Table of Contents

Class AzureCSOptions

Namespace
MailForge.AzureCS
Assembly
MailForge.AzureCS.dll

Configuration for the Azure Communication Services email provider.

public sealed class AzureCSOptions
Inheritance
AzureCSOptions
Inherited Members

Constructors

AzureCSOptions()

Initializes a new instance of the AzureCSOptions class.

public AzureCSOptions()

Properties

AccessKey

The access key used for HMAC-SHA256 request signing, exactly as it appears in the connection string (endpoint=...;accesskey=...). It is Base64-decoded before signing.

public string? AccessKey { get; set; }

Property Value

string

ApiVersion

The ACS API version to use.

public string ApiVersion { get; set; }

Property Value

string

Endpoint

The Azure Communication Services resource endpoint (for example, "https://my-resource.communication.azure.com").

public string? Endpoint { get; set; }

Property Value

string

SenderAddress

The verified sender address (must match a domain validated for this resource), for example "noreply@contoso.com". Azure does not allow arbitrary From addresses.

public string? SenderAddress { get; set; }

Property Value

string

Timeout

The HTTP timeout in seconds (default 30).

public TimeSpan Timeout { get; set; }

Property Value

TimeSpan