editsmtpserver

area emailaction editsmtpserverPOSTwrite

Edit's a SMTP Server given the server id.

Arguments

ArgumentTypeRequiredDescription
idintegerYesSMTP Server id that you are editing
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=editsmtpserver

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

Response

<response>
  <success>SMTP Server Updated</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.