Macrobyte Resources Conversant Developer Central
Internet groupware development platform
Re: Attachments Via XML-RPC

Subject Re: Attachments Via XML-RPC
Posted 11/7/2002; 12:48 PM by Seth Dillingham
Last Modified 11/7/2002; 12:48 PM by Seth Dillingham
In Response To Attachments Via XML-RPC (#404)
Label None. Read 1054
<Previous Next> Thread: Edit Reply

On 11/7/02, Steve Ivy said:

>I was just investigating how to create attachments via the rpc
>interface, and i see that "message.createAttachment" just has the one
>parameter for an attachment. What kind of data goes in that
>"attachment" param? And how does the filename get sent?

It's a struct with three elements.

name [string] - the name of the attachment

data [any] - the data for the attachment

type [string] - the mime type of the attachment, like "text/html" or "image/gif"



<Previous Next> Thread: Edit Reply



© 2002 Macrobyte Resources. All rights reserved.