testSmtpConnection

post

/ccadmin/v1/email/test

Test Smtp Connection. Test the SMTP connection for the supplied email service data.

Request

Supported Media Types
  • application/json
Body Parameter
Root Schema : testSmtpConnection_request

Response

Supported Media Types
  • application/json
200 Response
Following model is returned when operation succeeds.
Body
Root Schema : testSmtpConnection_response
Example application/json

{
    "status":true
}
Default Response
The error response
Body
Root Schema : errorModel
Type: object
Nested Schema : errors
Type: array
An optional list of errors if multiple errors were encountered
Nested Schema : items
Type: object

Examples

Sample Request:

{
  "emailSMTPPort": "25",
  "emailSMTPHost": "127.0.0.1",
  "emailSMTPAuthMethod": "TLS",
  "emailSMTPPassword": "",
  "emailSMTPUsername": ""
}

Sample Response Payload returned by endpoint:

{"status": true}