---
title: "Lacuna PSC command: **test-email**"
description: "Reference for the Lacuna PSC test-email command, which tests the email configuration by sending a test message to a given address."
canonical: "https://docs.lacunasoftware.com/en-us/articles/psc/on-premises/tool/test-email"
locale: "en"
product: "PSC"
last_updated: "2026-07-14"
---

# Lacuna PSC command: **test-email**

## Name

`test-email` - Tests the email sending

## Syntax

```sh
dotnet Lacuna.Psc.Site.dll [settings] -- test-email <to-address>
```

Or, on Docker:

```sh
docker run -i lacunasoftware/psc:1.2 [settings] -- test-email <to-address>
```

The `settings` arguments are additional settings to overwrite settings from configuration files and environment variables,
for instance `--Section1:Name1=value1 --Section2:Name2=value2`.

## Description

The `test-email` command tests the email configuration by attempting to send a test message to the given address.

## See also

* [Lacuna PSC command-line tool](https://docs.lacunasoftware.com/en-us/articles/psc/on-premises/tool)
