Mail to

The mail-to coponent is simple webcomponent which can be used prepare mails form mobile app. It contains address fields, subject and message text fields. They may be filled by user or they can be pre set based on previous forms. The “Create email” button opens default mailbox program installed on PC or mibile device with addresses and subject and message set.

Mail to example

Use mail-to element type to place multiline text field on your form.

The mail-to has the following properties:

  • “id” - the id of the element
  • “email” - the email adddress
  • “cc” - the cc address
  • “bcc” - the bcc address
  • “subject” - the subject of email
  • “message” - the text message (body of email)
  • “clear” - (true/false). Is set to true it clears all fields
  • “openMailclient()” - the function. Opens default mail client

Example of table-totals field which will display number of selected rows. Note, the table id is “items”

{ "id": "email", "type": "mail-to"}