Check the connection of an email channel
POST
/org/{tenant_code}/v2/messaging/channels/{channelId}/check-connection
Platform support: MT
Token Cost: 2 tokens (low)
Opens a connection to the IMAP or SMTP server configured on the channel using its stored credentials, and reports whether it succeeded.
Request
Responses
- 200
- 400
- 401
- 403
- 404
- 500
Connection succeeded (no body).
Input failed validation, or the channel has no email configuration.
Missing or invalid X-User-Identity header.
Messaging module is not activated in license and the grace period is over.
Unknown tenant, or channel not found.
The connection attempt failed, or an unknown server_type was
requested; the details carry the reported error. Also returned for
any other unhandled server-side error.