# PapercutSmtpContainerResource

- Module: [CommunityToolkit.Aspire.Hosting.PapercutSmtp](/reference/api/go/communitytoolkit.aspire.hosting.papercutsmtp.md)
- Version: `13.6.1`
- Kind: `handle`
- Source: [GitHub](https://github.com/CommunityToolkit/Aspire/tree/d9c2addac6f527ef2e33712d290b84574b455a3b)

Resource for the Papercut SMTP server.

## Definition

```go
type PapercutSmtpContainerResource interface {
    ExpressionValue
    IComputeResource
    Resource
    ResourceWithArgs
    ResourceWithConnectionString
    ResourceWithEndpoints
    ResourceWithEnvironment
    ResourceWithWaitSupport
}
```

## Embeds

- `ExpressionValue`
- `IComputeResource`
- `Resource`
- `ResourceWithArgs`
- `ResourceWithConnectionString`
- `ResourceWithEndpoints`
- `ResourceWithEnvironment`
- `ResourceWithWaitSupport`

## Properties

- `ConnectionStringExpression`: `*ReferenceExpression` `get` -- ConnectionString for the Papercut SMTP server in the form of smtp://host:port.
- `Host`: `EndpointReferenceExpression` `get` -- Gets the host endpoint reference for the SMTP endpoint.
- `Port`: `EndpointReferenceExpression` `get` -- Gets the port endpoint reference for the SMTP endpoint.
- `UriExpression`: `*ReferenceExpression` `get` -- Gets the connection URI expression for the Papercut SMTP endpoint.
