Fullscreen
[Show/Hide Left Column]
[Show/Hide Right Column]

Webmail Handler

Webmail Handler (only available from v6.0)


Allows the Webmail compose screen to be opened with content pre-populated. Typically used through a data channel so that it can be invoked from a button on a wiki page.

YAML
objects:
  -

    type: webmail
    ref: new_webmail
    data:
      to: test@test.com  
      cc: test@test.com
      bcc: test@test.com
      subject: Subject text
      body: wikiparsed:TempWebmail # uses text from a wiki page
      html: n



Webmail Object Parameters (>=6.0 only)


Field nameMandatoryValue
typeyesmust be "webmail"
ref can potentially link to other objects.
to the 'direct' addressee(s) for the webmail. Can be a comma separated list or imported from a wiki page using for example wikiparsed: pagename
cc the 'copy to' addressee(s) for the webmail. Can be a comma separated list or imported from a wiki page using for example wikiparsed: pagename
bcc the 'blind copy' addressee(s) for the webmail. Can be a comma separated list or import from a wiki page using for example wikiparsed: pagename
subject the webmail subject line. Can be simple text or imported from a wiki page using for example wikiparsed: pagename
body the webmail body content. Can be simple text or imported from a wiki page using for example wikiparsed: pagename
html sets the webmail html parameter



Details

minimally, to open the webmail screen with just a to: field populated the following YAML syntax will suffice.

YAML
objects:
  -
    type: webmail
    data:
      to: test@test.com


  • mind your spaces here each level of indentation is two spaces. (recommended). type and data are at the third level, webmail fields at the fourth


List of Profiles with Wiki Handler


None yet







Contributors to this page: Geoff Brickell37 points  .
Page last modified on Thursday 08 of April, 2010 12:03:26 UTC by Geoff Brickell37 points .