Results 1 to 4 of 4

Thread: REST API: get email in eml format

Threaded View

  1. #1
    Join Date
    Oct 2012
    Posts
    7
    Rep Power
    3

    Default REST API: get email in eml format

    I use ZCS 8.0
    If zimbra should return the email with these headers, it would be great:
    Code:
    Content-Type: message/rfc822
    Content-Disposition: attachment; filename=something
    /opt/zimbra/docs/rest.txt:
    Code:
       http://server/home/[~][{username}]/[{folder}]?[{query-params}]
              fmt={ics, csv, etc}
              id={item-id}
              list={item-id}*[,{item-id}]
              imap_id={item-imap-id}  (must also specify folder)
              part={mime-part}
              query={search-query}
              types={types} // when searching
              start={date-specifier}
              end={date-specifier}
              auth={auth-types}
              disp=i|a
    
              {disp} = i - means "inline" and the browser will open up the attachment inline
                       a - means "attachment" and the browser will put up a download window
    
              {types}   = comma-separated list.  Legal values are:
                          conversation|message|contact|appointment|note
                          (default is "conversation")

    I tried this:
    Code:
     http://server/home/[~][{username}]/[{folder}]?id?=1234&fmt=eml&file=test.eml&disp=a
    But the aforementioned headers missing.

    Can anyone help me in this?
    Last edited by mdesign; 10-11-2012 at 11:13 AM.

Similar Threads

  1. Obtaining email messages through Rest API
    By TheAlfred in forum Developers
    Replies: 2
    Last Post: 08-01-2012, 09:45 AM
  2. Replies: 3
    Last Post: 12-22-2011, 06:47 AM
  3. Compose New Email Format
    By rtsmitty23 in forum General Questions
    Replies: 1
    Last Post: 05-10-2011, 08:49 AM
  4. Email From domino wrong format
    By antonh in forum Administrators
    Replies: 0
    Last Post: 10-30-2010, 12:13 PM
  5. New email via REST
    By Ericx in forum Developers
    Replies: 4
    Last Post: 10-17-2008, 03:39 AM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •