PostaSmtpRelayOptions
Classsealednet10.0
Parameter-based configuration options for Posta's authenticated SMTP relay.
namespace CommunityToolkit.Aspire.Hosting.Posta;
public sealed class PostaSmtpRelayOptions{ // ...}8 members
Constructors1
Section titled ConstructorsProperties7
Section titled PropertiesEnabledget; setIResourceBuilder<ParameterResource>Gets or sets whether the SMTP relay is enabled.
Hostget; setIResourceBuilder<ParameterResource>Gets or sets the relay bind address.
Hostnameget; setIResourceBuilder<ParameterResource>Gets or sets the hostname announced by the relay.
MaxMessageSizeget; setIResourceBuilder<ParameterResource>Gets or sets the maximum message size in bytes.
Portget; setIResourceBuilder<ParameterResource>Gets or sets the relay listener port.
RateLimitget; setIResourceBuilder<ParameterResource>Gets or sets the per-IP session rate limit.
RateWindowget; setIResourceBuilder<ParameterResource>Gets or sets the rate-limit window in seconds.