Skip to content
DocsTry Aspire
DocsTry

MailPitContainerResource Properties

ClassProperties5 members
Resource for the MailPit server.
ConnectionStringExpressionSection titled ConnectionStringExpressionReferenceExpression
ConnectionString for MailPit smtp endpoint 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; }
PrimaryEndpointSection titled PrimaryEndpointEndpointReference
Gets the primary SMTP endpoint for the MailPit server.
public EndpointReference PrimaryEndpoint { get; }
UriExpressionSection titled UriExpressionReferenceExpression
Gets the connection URI expression for the MailPit SMTP endpoint.
public ReferenceExpression UriExpression { get; }
Format: smtp://{host}:{port}.