Mailer action
You will require this information when you would like to configure the mailer action for a form on your Haiku website.
Step by step instructions for configuring the mailer action:
Navigate to the Actions tab on the form you would like to configure the mailer action for, ensuring that you are logged in and have the required permissions.
From the actions landing page, select the ‘Settings’ button to the right of the ‘Mailer’ action.
You will see a pop-up with multiple tabs that will allow you to configure the mailer action
The pop-up has six tabs on it:
Content
Title - you can change the title of the mailer action if you wish - no real need to do this unless you have more than one mailer action.
Description - for adding a description of the action this mailer carries out.
Recipient’s full name - the full name of the recipient of the mailed form.
Recipient's e-mail address - the recipient's e-mail address - where the information configured in this mailer will be sent to.
Addressing
Extract Recipient From - choose a form field from which you wish to extract input for the ‘To’ header (where the email should be sent to. e.g. to the person who has filled in the form and provided their email address). If you choose anything other than "None", this will override the "Recipient's e-mail address" setting above. The values in the dropdown field are the form fields you have created.
CC Recipients - e-mail addresses which receive a carbon copy.
BCC Recipients - e-mail addresses which receive a blind carbon copy (useful if you want to email the user who filled the form dynamically, and also send a copy to yourself for a record).
Extract Reply-To From - choose a form field from which you wish to extract input for the ‘Reply-To’ header. NOTE: You should activate e-mail address validation for the designated field.
Message
Subject - the subject line of the message. This is used if you do not specify a subject field or if the field is empty.
Extract Subject From - choose a form field from which you wish to extract input for the mail subject line.
Body (prepended) - text prepended to fields listed in mail-body
Body (appended) - text appended to fields listed in mail-body
Body (signature) - text used as the footer at the bottom, delimited from the body by a dashed line.
Include All Fields - Check this to include input for all fields (except label and file fields). If you check this, the choices in the pick box below will be ignored. Be very careful what data you are sending over email as it cannot be guaranteed that it is always secure.
Show Responses - pick the fields whose inputs you'd like to include in the e-mail. Be very careful what data you are sending over email as it cannot be guaranteed that it is always secure.
Include Empties - check this to include titles for fields that received no input. Uncheck to leave fields with no input out of the e-mail.
Template (only for use by users who are experienced with HTML - once saved, this will immediately change how the emails sent from the system display)
Mail-Body Template - this is a Zope Page Template used for rendering of the mail-body. You don't need to modify it, but if you know TAL (Zope's Template Attribute Language) you have the full power to customize your outgoing mails.
Mail Format - set the mime-type of the mail-body. Change this setting only if you know exactly what you are doing. Leave it blank for default behaviour.
Headers
You will not need to configure any of this content.
Overrides (this functionality is for advanced users only, information on how to use these fields is built into the system help text. Any changes made on this tab can cause the mailer action to behave unexpectedly):
Subject Expression
Sender Expression
Recipient Expression
CC Expression
BCC Expression
Execution Condition
Don’t forget to save any of the configuration changes that you have made.