Class TwilioMailConfigurationSection
- Namespace
- NuvTools.Notification.Mail.Twilio.Configuration
- Assembly
- NuvTools.Notification.Mail.Twilio.dll
Contains the Twilio Email configuration that should be loaded from appsettings file.
The default section name is "MailTwilio"
public class TwilioMailConfigurationSection : MailConfigurationSection
- Inheritance
-
TwilioMailConfigurationSection
- Inherited Members
Remarks
Extends MailConfigurationSection with the Twilio Email API settings, inheriting the shared sender defaults. Credentials are sent using HTTP Basic authentication, where AccountSid is the user name and AuthToken is the password.
Fields
DefaultBaseUrl
The default base address of the Twilio Email API.
public const string DefaultBaseUrl = "https://comms.twilio.com/"
Field Value
Properties
AccountSid
Gets or sets the Twilio Account SID (e.g., "ACxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx").
public required string AccountSid { get; set; }
Property Value
AuthToken
Gets or sets the Twilio Auth Token used as the password for Basic authentication.
public required string AuthToken { get; set; }
Property Value
BaseUrl
Gets or sets the base address of the Twilio Email API. Defaults to DefaultBaseUrl.
public string BaseUrl { get; set; }
Property Value
IpPoolName
Gets or sets the default IP Pool name used for sending emails. Only applies to accounts with dedicated IPs.
public string? IpPoolName { get; set; }