User Tools

Site Tools


mailapi:autoresponderinfo

AutoresponderInfo Replacement

Use:

~autoresponderinfo~

Required parameter: responderid - the ID of the autoresponder

This returns a JSON structure containing the details of the specified autoresponder.

The return structure is an object containing:

  • 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 <username>@<local domain>)
  • 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: ”<original subject>)
  • subjectprefix - the subject prefix to use for the automatic response (“*” to use the globally defined one)
  • 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 “*” in the list to go to the original sender as well)
  • copyto - array of addresses to copy the original message to
  • attachments - array of filenames to attack to the original message
mailapi/autoresponderinfo.txt · Last modified: 2018/11/14 10:45 (external edit)