# PostaSystemSmtpOptions

- Kind: `class`
- Package: [CommunityToolkit.Aspire.Hosting.Posta](/reference/api/csharp/communitytoolkit.aspire.hosting.posta.md)
- Version: `13.5.0`
- Namespace: `CommunityToolkit.Aspire.Hosting.Posta`
- Target framework: `net10.0`
- Source: [GitHub](https://github.com/CommunityToolkit/Aspire/blob/4ff8268fbd97ddd23cb73dc8eff9cc92718156d1/src/CommunityToolkit.Aspire.Hosting.Posta/PostaSystemSmtpOptions.cs)

Parameter-based configuration options for Posta system SMTP notifications.

## Definition

```csharp
namespace CommunityToolkit.Aspire.Hosting.Posta;

public sealed class PostaSystemSmtpOptions
{
    // ...
}
```

## Constructors

- [PostaSystemSmtpOptions](/reference/api/csharp/communitytoolkit.aspire.hosting.posta/postasystemsmtpoptions/constructors.md#constructor)

## Properties

- [Encryption](/reference/api/csharp/communitytoolkit.aspire.hosting.posta/postasystemsmtpoptions/properties.md#encryption) : `IResourceBuilder<ParameterResource>` `get; set` -- Gets or sets the system SMTP encryption mode: none, ssl, or starttls.
- [From](/reference/api/csharp/communitytoolkit.aspire.hosting.posta/postasystemsmtpoptions/properties.md#from) : `IResourceBuilder<ParameterResource>` `get; set` -- Gets or sets the system SMTP from address.
- [Host](/reference/api/csharp/communitytoolkit.aspire.hosting.posta/postasystemsmtpoptions/properties.md#host) : `IResourceBuilder<ParameterResource>` `get; set` -- Gets or sets the system SMTP server host used for platform notifications.
- [Password](/reference/api/csharp/communitytoolkit.aspire.hosting.posta/postasystemsmtpoptions/properties.md#password) : `IResourceBuilder<ParameterResource>` `get; set` -- Gets or sets the system SMTP password.
- [Port](/reference/api/csharp/communitytoolkit.aspire.hosting.posta/postasystemsmtpoptions/properties.md#port) : `IResourceBuilder<ParameterResource>` `get; set` -- Gets or sets the system SMTP server port.
- [Username](/reference/api/csharp/communitytoolkit.aspire.hosting.posta/postasystemsmtpoptions/properties.md#username) : `IResourceBuilder<ParameterResource>` `get; set` -- Gets or sets the system SMTP username.
