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

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 09-20-2010, 02:39 AM
New Member
 
Posts: 3
Default Soap and Multiparts

Hi
I write an application to create a draft message with an attachement

when i call soap for SaveDraftRequest it work fine
but i can't send the Multipart Centent with base64 encoding

I found "Content-type" and "Cont-disp"

But how in soap attirbute of MP add the "Content-transfer-encoding: base64" directive ?

How can i add "Content-transfer-encoding" for the MP content

Or must i upload the attachement before or after adding draft

That a part of the request :

<SaveDraftRequest xmlns="urn:zimbraMail">
<m><su>SendTo</su>
<mp ct="multipart/mixed">
<mp body="1" ct="text/plain" part="1"><content>Hello</content></mp>
<mp cd="attachment;filename=&quot;MAILCIE.text&quot;"
ct="application/octet-stream;name=&quot;MAILCIE.text&quot;" part="2.1.1">
<content>PGh0bWw+CiAgPGhlYWQ+CiAgPC9oZWFkPgogIDxib 2R5PgogICAgPHA+VGhpcyBpcyB0aGUgYm9keSBvZiB0aGUgbWV zc2FnZS48L3A+CiAgPC9ib2R5Pgo8L2h0bWw+Cg==</content>
</mp>
</mp>
</m>
</SaveDraftRequest>


Thanks
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


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.