Skip to content

Test SMTP parameters​

POST
/api/settings/smtp/test

Send a test email with SMTP parameters. Admin role is required.

Authorizations​

bearerAuth

Bearer token using a JWT

Type
HTTP (Bearer)

Request Body​

application/json
JSON
{
  
"auth": {
  
  
"user": "smtp@gancio.org",
  
  
"pass": "password"
  
},
  
"port": 465,
  
"from": "admin@gancio.org",
  
"sendmail": false,
  
"secure": true,
  
"ignoreTLS": false,
  
"requireTLS": true
}

Responses​

Test email sent.

Playground​

Authorization
Body

Samples​

Powered by VitePress OpenAPI