Control Web Panel

Developers => CWP API => Topic started by: KatiaSisHost on March 08, 2022, 07:00:04 AM

Title: List Email from Domain.
Post by: KatiaSisHost on March 08, 2022, 07:00:04 AM
Now the api, list the emails from users... but its possible to filter it to domains too?

like:

listEmailsFromDomain(string $domain)
$domain = example.com

or... listEmailFromDomain(string $user, string $domain)
$user='example';
$domain='example.com';

Thanks You.

to only allow to CRUD specify domain... and not or all account.
Title: Re: List Email from Domain.
Post by: rcschaff on March 09, 2022, 12:40:26 AM
The domain can only be tied to one username.  And the API only lists email accounts from a selected account.  If you have multiple domains on one account, you can filter it after it is returned.