PostaInboundSmtpOptions
Classsealednet10.0
Parameter-based configuration options for Posta inbound SMTP processing.
namespace CommunityToolkit.Aspire.Hosting.Posta;
public sealed class PostaInboundSmtpOptions{ // ...}13 members
Constructors1
Section titled ConstructorsProperties12
Section titled PropertiesEnabledget; setIResourceBuilder<ParameterResource> Gets or sets whether inbound email processing is enabled.
Hostget; setIResourceBuilder<ParameterResource> Gets or sets the bind address for the built-in SMTP receiver.
Hostnameget; setIResourceBuilder<ParameterResource> Gets or sets the hostname announced in EHLO and used as TLS SNI.
MaxAttachmentSizeget; setIResourceBuilder<ParameterResource> Gets or sets the maximum inbound attachment size in bytes.
MaxMessageSizeget; setIResourceBuilder<ParameterResource> Gets or sets the maximum raw inbound message size in bytes.
Portget; setIResourceBuilder<ParameterResource> Gets or sets the SMTP listener port.
RateLimitget; setIResourceBuilder<ParameterResource> Gets or sets the per-IP SMTP session rate limit.
RateWindowget; setIResourceBuilder<ParameterResource> Gets or sets the SMTP rate-limit window in seconds.
TlsCertFileget; setIResourceBuilder<ParameterResource> Gets or sets the PEM certificate path for inbound TLS.
TlsKeyFileget; setIResourceBuilder<ParameterResource> Gets or sets the PEM key path for inbound TLS.
TlsModeget; setIResourceBuilder<ParameterResource> Gets or sets the inbound SMTP TLS mode: none or starttls.
WebhookSecretget; setIResourceBuilder<ParameterResource> Gets or sets the shared secret for inbound webhooks.