Exchange Provider::EditMailbox
The EditMailbox method allows you to edit mailbox settings.
Arguments
Input argument | Required | Description |
---|---|---|
Path |
Yes |
The Lightweight directory access protocol (LDAP) path of the user object. |
Mail/size |
No |
The mailbox size in MB. This value is equivalent to the ProhibitSendQuota value. Zero means use store defaults. |
Mail/warningQuota |
No |
The size in MB (>0) required to set this quota value; the default is 90 percent of the quota size. |
Mail/prohibitSendAndReceiveQuota |
No |
The size in MB (> 0) required to set this quota value; the default is 500 percent of the quota size. |
Mail/outgoingSizeLimit |
No |
The maximum size in KB of outgoing messages; - 1= unlimited. |
Mail/incomingSizeLimit |
No |
The maximum size in KB of incoming messages; -1 = unlimited. |
Mail/recipientLimit |
No |
The maximum number of mail recipients for outgoing messages; -1 = unlimited. |
Mail/disablePOP |
No |
Values for this parameter are:
|
Mail/disableIMAP |
No |
Values for this parameter are:
|
Mail/disableHTTP |
No |
Values for this parameter are:
|
Remarks
Rollback Calls
The EditMailbox method calls the EditMailbox method on transaction rollback and restores the original values that you modified.
Sample Code
Example XML Request
The following is an example of an XML request for the EditMailbox method of the Exchange Provider:
<request>
<data/>
<procedure>
<execute namespace='Exchange Provider'
procedure='EditMailbox'>
<executeData>
<path>LDAP://CN=Johnc,OU=litware,OU=consolidatedmessenger,
DC=fabrikam,DC=com</path>
<mail>
<size>100</size>
<disablePOP>1</disablePOP>
<disableIMAP>1</disableIMAP>
</mail>
</executeData>
</execute>
</procedure>
</request>
Example XML Response
No example XML response.
Applies To
Hosted Messaging and Collaboration version 3.5
Hosted Messaging and Collaboration version 3.0
See also
Tasks
Exchange Provider::MoveMailbox
Exchange Provider::DeleteMailbox