Test custom email server
Check that a login to an email server works, without saving it.
Reseller plan only. Buy the Reseller plan to get access.
Nothing changes for your clients. Use it before POST /reseller/identity/smtp/save.
Send the same body as the save call. If you leave password blank, the
saved password is used. Save a brand first.
Who may call: a key whose user is the owner or an admin of a reseller
organization that can hold a brand and use a custom email server. Any other
user gets 403.
Errors: 400 invalid_request when no brand is saved, host or port is
missing, or the login fails. The error_description gives the reason. 401
for a missing or invalid key. 403 forbidden when the user is not the owner
or an admin, or the account cannot hold a brand or use a custom email
server. 500 server_error for a server error.
Body
hoststringrequiredEmail server host name.
portintegerrequiredEmail server port, usually 587 for starttls or 465 for ssl.
usernamestringLogin name.
passwordstringLogin password. Leave it blank to use the saved password.
encryptionenumOne of: starttlssslnone
Default starttls
from_emailstringAddress your clients' emails are sent from.
Was this page helpful?
