Zimbra offers Open Source email server software and shared calendar for Linux and the Mac
Go Back   Zimbra :: Forums > Zimbra Collaboration Suite > Users

Welcome to the Zimbra :: Forums!
Welcome, if you would like to post a comment please register. We also encourage you to explore all things Zimbra with our team and members of the community.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 01-15-2007, 05:41 AM
Intermediate Member
 
Posts: 15
Question Get Attachment file ???

Can anybody please tell me how can I get an attachment file in my message over SOAP API ?

At now, when I get an message, all attachment info I know is

<ns2:mp ns2:filename="abc.txt" ns2:cd="attachment" ns2:ct="application/octet-stream" ns2art="2" ns2:s="237534"/>

I know name, I know Id file but I can't get this attachment file into my computer

Thanks
Reply With Quote
  #2 (permalink)  
Old 01-16-2007, 09:19 PM
Intermediate Member
 
Posts: 15
Default

Exactly, I found out a tag, which support get attachment file from mail :

<GetMsgPartRequest>
<m id="m1234">
<mp part="2.1.3"/>
</m>
</GetMsgPartRequest>

<GetMsgPartResponse>
<m id="...">
<mp part="2.1.3" ct="image/jpeg">
<content cte="base64">RKZezlj1hXbfPePrfm...rOIfTMUY=</content>
</mp>
</m>
</GetMsgPartResponse>

And response we had is binary byte of attachment file. But I don't know why request : GetMsgPartRequest is not run.

Is there anybody know why ?
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads

Why Join?

Registering let's you ask questions, makes it easier to search, displays any files attached to posts, and notifies you about replies.

blog.zimbra.com




 

SEO by vBSEO ©2011, Crawlability, Inc.