PostaOptions
Classsealednet10.0
Configuration options for the Posta container.
namespace CommunityToolkit.Aspire.Hosting.Posta;
public sealed class PostaOptions{ // ...}72 members
Constructors1
Section titled ConstructorsProperties71
Section titled PropertiesAllowDowngrade get; setbool Gets or sets a value indicating whether older binaries can boot against a newer database schema.
AuthRateLimitEnabled get; setbool Gets or sets a value indicating whether auth rate limiting is enabled.
AutoSuppressOnReject get; setbool Gets or sets a value indicating whether permanently rejected recipients are added to the suppression list.
BlobProvider get; setstring? Gets or sets the storage backend for attachments, either s3 or filesystem.
BlobS3PathStyle get; setbool Gets or sets a value indicating whether S3 path-style addressing is used.
DatabaseUrl get; setIResourceBuilder<ParameterResource> Gets or sets a PostgreSQL connection string parameter that overrides individual database settings.
DevMode get; setbool Gets or sets a value indicating whether Posta stores emails without sending them.
EmailVerificationRequired get; setbool Gets or sets a value indicating whether users must verify their email address before sign-in.
EmailVerifyCacheTtlHours get; setint Gets or sets how long address-level verification results are cached, in hours.
EmailVerifyEnabled get; setbool Gets or sets a value indicating whether the email verification endpoint is enabled.
EmbeddedWorker get; setbool Gets or sets a value indicating whether the worker runs in the server process.
EncryptionKey get; setIResourceBuilder<ParameterResource> Gets or sets the AES-256-GCM encryption key for stored SMTP passwords.
GoogleOAuthClientSecret get; setIResourceBuilder<ParameterResource> Gets or sets the Google OAuth client secret for SSO login.
InboundEnabled get; setbool Gets or sets a value indicating whether inbound email processing is enabled.
InboundWebhookSecret get; setIResourceBuilder<ParameterResource> Gets or sets the shared secret for inbound webhooks.
PlanEnforcement get; setbool Gets or sets a value indicating whether hosted plan limits and quotas are enforced.
RedisPassword get; setIResourceBuilder<ParameterResource> Gets or sets a Redis password parameter that overrides the referenced Redis resource password.
RedisUrl get; setIResourceBuilder<ParameterResource> Gets or sets a Redis URL that overrides individual Redis settings.
SystemSmtpEncryption get; setstring Gets or sets the system SMTP encryption mode: none, ssl, or starttls.
SystemSmtpHost get; setstring? Gets or sets the system SMTP server host used for platform notifications.
SystemSmtpPassword get; setIResourceBuilder<ParameterResource> Gets or sets the system SMTP password.
WebhookProxyUrl get; setstring? Gets or sets the optional HTTP, HTTPS, or SOCKS5 proxy for webhook delivery.