curl --request POST \
--url https://saas.pads365.com/rdx/nds.services.email/api/v1/mail/testSmtpConnection \
--header 'Content-Type: application/json' \
--data '
{
"Server": "<string>",
"DisableSsl": true,
"Port": 123,
"UserName": "<string>",
"Password": "<string>",
"OAuthProviderId": "<string>"
}
'