addsmtpserver

area emailaction addsmtpserverPOSTwrite

Adds a SMTP Server for use in remote SMTP Campaigns

Arguments

ArgumentTypeRequiredDescription
smtpserverstringYesSMTP Server Host. A domain name.
smtpportintegerYesPort number for SMTP Server
usernamestringYesSMTP Username
passwordstringYesSMTP Server password
testemailaddressstringYesAn email address to send on behalf of to test that connection works.
emailaddressstringNoEmail address to send on behalf. If empty we assume any email you entered will be allowed to used. Normally empty if using another ESP for remote campaigns.
sslmodestringNoeither empty or ssl or tls.

Example request

https://api.mailclickconvert.com/api.php
  ?apikey=YOUR_API_KEY
  &area=email
  &action=addsmtpserver

The platform expects this call as a POST; the parameters are the same either way.

Response

<response>
  <success>SMTP server Added</success>
  <smtpserverid>122</smtpserverid>
</response>

Need a call that isn't here?

Custom integration work is quoted on scope, and support is a person on weekdays, 9am to 5pm CST.