# SendTestEmailRequest Properties

- Package: [CommunityToolkit.Aspire.Posta](/reference/api/csharp/communitytoolkit.aspire.posta.md)
- Type: [SendTestEmailRequest](/reference/api/csharp/communitytoolkit.aspire.posta/sendtestemailrequest.md)
- Kind: `Properties`
- Members: `5`

Represents the SendTestEmailRequest payload.

<a id="from"></a>

## From

- Name: `From`
- Modifiers: `nullable` `get; set`
- Returns: `string?`
- Source: [GitHub](https://github.com/CommunityToolkit/Aspire/blob/4ff8268fbd97ddd23cb73dc8eff9cc92718156d1/src/CommunityToolkit.Aspire.Posta/Models/Templates/SendTestEmailRequest.cs)

Gets or sets `from`.

```csharp
public string? From { get; set; }
```

<a id="id"></a>

## Id

- Name: `Id`
- Modifiers: `get; set`
- Returns: `int`
- Source: [GitHub](https://github.com/CommunityToolkit/Aspire/blob/4ff8268fbd97ddd23cb73dc8eff9cc92718156d1/src/CommunityToolkit.Aspire.Posta/Models/Templates/SendTestEmailRequest.cs)

Gets or sets the `id` path parameter.

```csharp
public int Id { get; set; }
```

<a id="language"></a>

## Language

- Name: `Language`
- Modifiers: `nullable` `get; set`
- Returns: `string?`
- Source: [GitHub](https://github.com/CommunityToolkit/Aspire/blob/4ff8268fbd97ddd23cb73dc8eff9cc92718156d1/src/CommunityToolkit.Aspire.Posta/Models/Templates/SendTestEmailRequest.cs)

Gets or sets `language`.

```csharp
public string? Language { get; set; }
```

<a id="templatedata"></a>

## TemplateData

- Name: `TemplateData`
- Modifiers: `nullable` `get; set`
- Returns: `IReadOnlyDictionary<string, JsonElement>`
- Source: [GitHub](https://github.com/CommunityToolkit/Aspire/blob/4ff8268fbd97ddd23cb73dc8eff9cc92718156d1/src/CommunityToolkit.Aspire.Posta/Models/Templates/SendTestEmailRequest.cs)

Gets or sets `template_data`.

```csharp
public IReadOnlyDictionary<string, JsonElement>? TemplateData { get; set; }
```

<a id="to"></a>

## To

- Name: `To`
- Modifiers: `get; set`
- Returns: `IReadOnlyList<string>`
- Source: [GitHub](https://github.com/CommunityToolkit/Aspire/blob/4ff8268fbd97ddd23cb73dc8eff9cc92718156d1/src/CommunityToolkit.Aspire.Posta/Models/Templates/SendTestEmailRequest.cs)

Gets or sets `to`.

```csharp
public IReadOnlyList<string> To { get; set; }
```
