Call us toll-free @ 888-497-7898

API Call Information

area: email

action: editsmtpserver

API Arguments

Argument Data Type Required Description
id integer Yes SMTP Server id that you are editing
smtpserver string Yes SMTP Server Host. A domain name.
smtpport integer Yes Port number for SMTP Server
username string Yes SMTP Username
password string Yes SMTP Server password
testemailaddress string Yes An email address to send on behalf of to test that connection works.
emailaddress string No Email 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.
sslmode string No either empty or ssl or tls.

API URL Example

https://api.hypermail.com/api.php?apikey=YOURAPIKEYHERE&area=email&action=editsmtpserver

API Response

XML Response

<response>
  <success>SMTP Server Updated</success>
  <smtpserverid>122</smtpserverid>
</response>

JSON Response

{
    "success": "SMTP Server Updated",
    "smtpserverid": "122"
}