Service: zimbraAdmin
Namespace: "urn:zimbraAdmin"
ExportMailbox SOAP Command

Export Mailbox (OLD mailbox move mechanism)
This request blocks until mailbox move is complete and can take a long time. Client side should set timeout accordingly.
Note: This is the old mailbox move request. The new mailbox move request is MoveMailboxRequest.

Network edition only API TRUE
Authorization token required true
Admin Authorization token required true

ExportMailboxRequest

    <ExportMailboxRequest> ## ExportMailboxRequest
        <account name="{account-email-address}" dest="{hostname-of-target-server}"
                    [destPort="{target-port-for-import} (Integer)"] [tempDir="{source-svr-tempdir}"]
                    [overwrite="{overwrite-flag} (0|1)"] /> ## ExportMailboxSelector
    </ExportMailboxRequest>

The following table describes elements and attributes you can define within a <ExportMailboxRequest> element:

XPath Required / Optional Description
/account Required (only 1) Export Mailbox details
/account@name Required (only 1) Type:String
Account email address.
Account must exist and be provisioned on the local server
/account@dest Required (only 1) Type:String
Hostname of target server.
Must differ from the account's host server
/account@destPort Optional (0 or 1) Type:Integer
Target port for mailbox import
/account@tempDir Optional (0 or 1) Type:String
Temporary directory to use on source server
/account@overwrite Optional (0 or 1) Type:0|1
If this flag is set, the target mailbox will be replaced if it exists

ExportMailboxResponse

    <ExportMailboxResponse /> ## ExportMailboxResponse