Self Help Documentation
< All Topics

email/getemailflow

Description

Returns the current email flow settings – sending, receiving and the hourly sending limit – of an existing email account or domain for an existing SPanel user account.

Parameters

FieldTypeRequiredDescription
tokenstringYesAuthorizing API token – check API Basics for more information.
accountuserstringYesThe SPanel user account that is being managed or viewed.
actionstringYesThe category and function being executed.
modestringNoDefault: ’email’. ’email’ / ‘domain’ – whether the settings of an email account or of a whole domain are being read.
emailstringNoThe existing email account to be read. Required when mode is ’email’.
domainstringNoThe existing domain or subdomain to be read. Required when mode is ‘domain’.

Info
In the output, outgoing and incoming are the settings of the email account itself, while domain_outgoing and domain_outgoinglimit are the settings of its domain. A value of 1 means enabled, 0 means disabled. An email account cannot send emails while sending is disabled for its domain, and it cannot exceed the hourly limit of its domain.

Example

You can find more information about the Endpoint URL in our API Basics article.

Output

Table of Contents