pem.exchange.getDistributionLists

This method is supported by Operations starting from version 2.9 hotfix03

This method returns all Distribution Lists for the specified Subscription.

The method has the following input parameters:

Name

Type

Short Description

subscription_id

int

Subscription ID

The method returns an array of the following structures:

Name

Type

Short Description

distribution_list_id

int

Distribution List ID

display_name

string

The Display Name of the Distribution List

email_address

string

The Primary E-mail Address of the Distribution List

alias

string

The Alias of the Distribution List

accept_mail_from

int

This parameter defines the type of accepted recipients. There are the following options:

  • 0 – From system only
  • 1 – From everyone
  • 2 – From the Distribution List's members only
  • 3 – From Mailboxes which belong to this subscription only

Note: This method can also be called under Reseller permissions.