Skip to content
Docs Try Aspire
Docs Try

MailPitContainerResource Properties

Class Properties 5 members
Resource for the MailPit server.
ConnectionStringExpression Section titled ConnectionStringExpression ReferenceExpression
ConnectionString for MailPit smtp endpoint in the form of smtp://host:port.
public ReferenceExpression ConnectionStringExpression { get; }
Host Section titled Host EndpointReferenceExpression
Gets the host endpoint reference for the SMTP endpoint.
public EndpointReferenceExpression Host { get; }
Port Section titled Port EndpointReferenceExpression
Gets the port endpoint reference for the SMTP endpoint.
public EndpointReferenceExpression Port { get; }
PrimaryEndpoint Section titled PrimaryEndpoint EndpointReference
Gets the primary SMTP endpoint for the MailPit server.
public EndpointReference PrimaryEndpoint { get; }
UriExpression Section titled UriExpression ReferenceExpression
Gets the connection URI expression for the MailPit SMTP endpoint.
public ReferenceExpression UriExpression { get; }
Format: smtp://{host}:{port}.