Skip to main content
POST
/
v1
/
email
/
smtp
/
test
Test SMTP Connection
curl --request POST \
  --url https://api.oviond.com/v1/email/smtp/test \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "host": "<string>",
  "port": 32768,
  "username": "<string>",
  "password": "<string>",
  "from_email": "[email protected]",
  "secure": true,
  "from_name": "<string>"
}
'
{
  "success": true
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
host
string
required
Minimum string length: 1
port
integer
required
Required range: 1 <= x <= 65535
username
string
required
Minimum string length: 1
password
string
required
Minimum string length: 1
from_email
string<email>
required
secure
boolean
default:true
from_name
string | null

Response

200 - application/json

SMTP connection successful

success
enum<boolean>
required
Available options:
true