curl --request POST \
--url https://saas.pads365.com/rdx/nds.services.email/api/v1/mail/ensureSmtpConfiguration \
--header 'Content-Type: application/json' \
--data '{
"Context": {
"CorrelationId": "<string>",
"UserId": "<string>",
"Pads4UserId": "<string>",
"Domain": "<string>",
"Claims": [
{
"Type": "<string>",
"Value": "<string>"
}
],
"SecondaryIdentities": [
"<string>"
],
"ImpersonationId": "<string>"
},
"Host": "<string>",
"Port": 123,
"Ssl": true,
"AuthRequired": true,
"Username": "<string>",
"InternalPassword": "<string>",
"SenderAddress": "<string>",
"Priority": 123,
"Enabled": true,
"Password": "<string>"
}'