---
title: "POST /notification.testEmailConnection"
method: POST
path: "/notification.testEmailConnection"
tags: ["notification"]
---

# POST /notification.testEmailConnection

`POST /notification.testEmailConnection`

## Request body

- object
  - `smtpServer` string, required
  - `smtpPort` number, required
  - `username` string, required
  - `password` string, required
  - `toAddresses` string[], required
  - `fromAddress` string, required

## Response `200`

Successful response

- object

## Other responses

- `400` — Invalid input data
- `401` — Authorization not provided
- `403` — Insufficient access
- `500` — Internal server error

---

[API](https://skmtc.net/dokploy/apis/dokploy-api.md) · [All operations](https://skmtc.net/dokploy/apis/dokploy-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/dokploy/dokploy-api/versions/e43061d02faa/schema)
