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.
MaxAttachmentSize get; setIResourceBuilder<ParameterResource> Gets or sets the maximum inbound attachment size in bytes.
MaxMessageSize get; setIResourceBuilder<ParameterResource> Gets or sets the maximum raw inbound message size in bytes.
RateLimit get; setIResourceBuilder<ParameterResource> Gets or sets the per-IP SMTP session rate limit.
RateWindow get; setIResourceBuilder<ParameterResource> Gets or sets the SMTP rate-limit window in seconds.
TlsCertFile get; setIResourceBuilder<ParameterResource> Gets or sets the PEM certificate path for inbound TLS.
TlsKeyFile get; setIResourceBuilder<ParameterResource> Gets or sets the PEM key path for inbound TLS.
TlsMode get; setIResourceBuilder<ParameterResource> Gets or sets the inbound SMTP TLS mode: none or starttls.
WebhookSecret get; setIResourceBuilder<ParameterResource> Gets or sets the shared secret for inbound webhooks.