Class AzureCSOptions
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
ApiVersion
The ACS API version to use.
public string ApiVersion { get; set; }
Property Value
Endpoint
The Azure Communication Services resource endpoint (for example, "https://my-resource.communication.azure.com").
public string? Endpoint { get; set; }
Property Value
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
Timeout
The HTTP timeout in seconds (default 30).
public TimeSpan Timeout { get; set; }