This shows you the differences between two versions of the page.
Last revisionBoth sides next revision | |||
mailapi:autoresponderlist [2011/04/14 11:32] – created paul | mailapi:autoresponderlist [2011/04/14 11:36] – paul | ||
---|---|---|---|
Line 8: | Line 8: | ||
This returns a JSON structure listing all the autoresponder details available. **autoresponderlist** returns the personal autoresponder details. **autorespondergloballist** returns the global autoresponder details defined by the administrator. | This returns a JSON structure listing all the autoresponder details available. **autoresponderlist** returns the personal autoresponder details. **autorespondergloballist** returns the global autoresponder details defined by the administrator. | ||
- | The structure is an array of zero or more objects with members: | + | The structure is an array of zero or more objects with members |
- | * id - autoresponder id | + | |
- | * ownerid - the numberic id of the owner user | + | |
- | * responder - the autoresponder text | + | |
- | * keep - boolean value saying whether original message should be kept in the mailbox or not | + | |
- | * checklog - numeric value saying how far back the autoresponder should check in the autoresponse log to check for duplicate senders (in hours) | + | |
- | * sender - the sender email address to use on the automatic response (blank for default < | + | |
- | * replyto - the reply-to email address to use on the automatic response (optional) | + | |
- | * subject - the subject to use on the automatic response (blank for default of "Re: "< | + | |
- | * subjectprefix - the subject prefix to use for the automatic response (" | + | |
- | * appendmsg - whether to append the original message to the response (0=no, 1=headers only, 2=full message) | + | |
- | * to - array of addresses to send the response to (blank will send to original sender only, otherwise the response will //only// go to the listed addresses, include " | + | |
- | * copyto - array of addresses to copy the original message to | + | |
- | * attachments - array of filenames to attack to the original message | + | |