I am trying to send an email with attachment through Zimbra SOAP API.
Following the documentation :
https://files.zimbra.com/docs/soap_api/ ... ndMsg.html
It states that the attchment should be uploaded first using the FileUploadServlet. The resulting ID being then send in the SOAP request in the "aid" attribute.
But the documentation of the FileUploadServlet never states that an ID is returned:
ftp://ftp.lab.unb.br/pub/zimbra/zimbra/ ... upload.txt
I am actually getting the following response when uploading a file with FileUploadServlet:
Code: Select all
200,'null','2443203b-c634-4404-be27-d837c7f7fbb7:dab1aac0-b40a-48d9-a42e-786744a6143b'
Response code is 200 so the request should have been processed successfully.
The question is: how to get the aid="{uploaded-MIME-body-ID}" from the FileUploadServlet ?
Thanks
For information, I am using the API from a Java application.