Authorization: Bearer ********************curl --location --request POST 'https://awqacore01.crexendocloud.com/ns-api/v2/email/validate' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data-raw '{
"test-email": true,
"source-email": "noreply@company.com",
"destination-email": "test@company.com",
"smtp-host": "smtp.gmail.com",
"smtp-port": 587,
"smtp-username": "user@company.com",
"smtp-password": "P@ssw0rd123"
}'{
"success": true,
"message": "SMTP connection validated successfully",
"details": {
"connection_established": true,
"authentication_successful": true,
"tls_enabled": false,
"smtp_host": "smtp.gmail.com",
"smtp_port": 587,
"connection_time_ms": 25,
"test_email_sent": false,
"test_email_error": "SMTP Error: 530 5.7.0 specifications. a92af1059eb24-1247d9a3f22sm6368223c88.13 - gsmtp"
}
}