Zimbra REST API Reference:Import Message
Introduction |
|
Method: Get Folder |
|
Method: Import Message |
|
Method: Get Contacts |
|
Method: Import Contacts |
|
Method: Get Calendar |
|
Method: Get FreeBusy |
|
Method: Import Appointments |
|
Method: Get Tasks |
|
Method: Get Item |
|
Method: Get Briefcase |
|
Method: Get Briefcase Item |
|
Method: Export Mailbox |
<< Back to Zimbra REST API Reference REST API Method: Import MessageImports a message to a mail folder in MIME RFC822 format. Default (inbox/sent/trash/junk) and user-defined folders are supported. URLhttp://localhost:7070/home/john.doe/{folder-name} Go to Command Format HTTP Method
Formats
Requires Authentication
ParametersFolder Name
Usage ExamplesThe following examples show using the curl utility to post a file to the REST command. Be sure to replace {username} and {password} with the account username and password. Import the message into the "inbox" folder: curl -u {username}:{password} --upload-file /tmp/mymessage.msg http://localhost:7070/home/john.doe/inbox Import the message into the user-defined "mymessages" folder: curl -u {username}:{password} --upload-file /tmp/mymessage.msg http://localhost:7070/home/john.doe/mymessages
|