Okay, for the past couple of days I have been investigating the user of the Zimbra Soap API, and so far I have been fairly successful. I can authenticate a user and send a message using SendMsgRequest with no problems. My problem occurs when I attempt to send a message with an attachment, it fails with the error NO SUCH ITEM. Not sure what I am doing wrong. According to the soap.txt file for SendMsgRequest, it has ... I have tried this and I get an error.
The code is from a C# .Net application running on Windows 7 x64. Like I said, everything works except the attaching of the file. I am assuming that document-path is the LOCAL path and file name. Here is what my soap string looks like:
http://www.w3.org/2003/05/soap-envelope"> xmlns="urn:zimbra">MYAUTHTOKENTest email - with attachmentMail with attachment and CC
Essentially, if I pull the attach stuff out the email sends no problem, but with it I get the error.
Zimbra Soap API SendMsgRequest with Attachment
-
- Advanced member
- Posts: 68
- Joined: Sat Sep 13, 2014 2:14 am
Zimbra Soap API SendMsgRequest with Attachment
[quote user="chads"][/QUOTE]
This can't be right, how could the server possibly get to this file on your local "E" drive? I think you want to put the MIME-formatted upload directly between the tags, but I'm not very familiar with this.
This can't be right, how could the server possibly get to this file on your local "E" drive? I think you want to put the MIME-formatted upload directly between the tags, but I'm not very familiar with this.