pem.exchange.addMailbox
This method is supported by Operations starting from version 2.6.5
This method creates an Exchange Mailbox.
There are the following use-cases of the method:
- Create a Mailbox and assign the Mailbox to an existing Service User. In this case the
user_id
parameter should be specified. Thenew_user
parameter should not be specified. - Create a Service User, create a Mailbox, and then assign the Mailbox to the created Service User. In this case the
new_user
parameter should be specified. Theuser_id
parameter should not be specified.
The method has the following input parameters:
Name |
Type |
Short Description |
---|---|---|
|
int |
ID of the existing Service User to which the Mailbox is assigned. Notes: |
|
struct |
It defines properties of the new Service User. Note: The |
|
int |
ID of the Subscription. Notes: |
|
string |
Login of the Service User. Note: If a Service User with the specified login already exists, Operations will try to assign the Mailbox to the existing Service User. |
|
string |
Password of the Service User. If the parameter is not specified, a password is generated by Operations. |
|
string |
Display Name of the Service User. If the parameter is not specified, the value of the |
|
string |
It defines the Mailbox alias. |
|
string |
It defines the primary e-mail address of the Mailbox. This address appears in the "From:" and "Reply-To:" fields of e-mail messages sent from the Mailbox. |
|
boolean |
Whether the Outlook Web Access (OWA) support is enabled. |
|
boolean |
Whether the access over Outlook support is enabled. |
|
boolean |
Whether the Active Sync support is enabled. |
|
boolean |
Whether access to Mailbox over IMAP4 support is enabled. |
|
boolean |
Whether access to Mailbox over POP3 support is enabled. |
|
int |
It defines the maximum storage size (in Kilobytes) the mailbox can occupy before the system prevents the mailbox owner from sending and receiving more messages. |
|
array of string |
It defines the list of additional e-mail addresses of the Mailbox. These e-mail addresses should be based on domains, which belong to the Customer's Subscription. |
|
boolean |
Whether to skip the Mailbox initialization (Initialization is the setting of locale and creating the folders hierarchy for Mailbox). If parameter is omitted, the 0 value is used. |
|
boolean |
Whether to mark the Mailbox as migrated from an external system. If this parameter is specified and its value is 1, the Mailbox is marked as migrated. |
The method has the following output parameters:
Name |
Type |
Short Description |
---|---|---|
|
int |
ID of the created Mailbox. |
Notes:
1. This method can also be called under Reseller permissions.
2. Service User ID is not displayed in Operations control panel. You may use the pem.getUserByLogin or pem.getUsers methods to obtain the ID of the required Service User. Also, you may use the Operations Public API methods, which contain Service User ID(s) in the list of their output parameters.