Call us toll free @ 888-497-7898

email - editsmtpserver

Edit's a SMTP Server given the server id.


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 Result:
XML Response JSON Response
<response>
  <success>SMTP Server Updated</success>
  <smtpserverid>122</smtpserverid>
</response>
{
    "success": "SMTP Server Updated",
    "smtpserverid": "122"
}