Skip to content
DocsTry Aspire
DocsTry

PapercutSmtpContainerResource Properties

ClassProperties4 members
Resource for the Papercut SMTP server.
ConnectionStringExpressionSection titled ConnectionStringExpressionReferenceExpression
ConnectionString for the Papercut SMTP server in the form of smtp://host:port.
public ReferenceExpression ConnectionStringExpression { get; }
HostSection titled HostEndpointReferenceExpression
Gets the host endpoint reference for the SMTP endpoint.
public EndpointReferenceExpression Host { get; }
PortSection titled PortEndpointReferenceExpression
Gets the port endpoint reference for the SMTP endpoint.
public EndpointReferenceExpression Port { get; }
UriExpressionSection titled UriExpressionReferenceExpression
Gets the connection URI expression for the Papercut SMTP endpoint.
public ReferenceExpression UriExpression { get; }
Format: smtp://{host}:{port}.