curl --request POST \
--url https://app.spotzee.com/api/ext/generic/email/smtp-server-test \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/x-www-form-urlencoded' \
--data hostname_ip=www.example.com{
"status": "success",
"data": {
"connection": "success",
"details": {
"hostname": "<string>",
"port": 123,
"security": "<string>",
"response": "220 smtp.example.com ESMTP ready",
"features": [
"STARTTLS",
"AUTH LOGIN",
"AUTH PLAIN",
"SIZE 35882577"
]
},
"error": "<string>"
}
}Tests connectivity to an SMTP server by attempting to establish a connection. Useful for verifying mail server availability and basic configuration.
curl --request POST \
--url https://app.spotzee.com/api/ext/generic/email/smtp-server-test \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/x-www-form-urlencoded' \
--data hostname_ip=www.example.com{
"status": "success",
"data": {
"connection": "success",
"details": {
"hostname": "<string>",
"port": 123,
"security": "<string>",
"response": "220 smtp.example.com ESMTP ready",
"features": [
"STARTTLS",
"AUTH LOGIN",
"AUTH PLAIN",
"SIZE 35882577"
]
},
"error": "<string>"
}
}Bearer token authentication. Use format: Bearer YOUR_API_KEY
Hostname
"www.example.com"
Successfully tested SMTP server
Indicates successful operation
success Hide child attributes
Connection test result
success Hide child attributes
Was this page helpful?