What kind of emails are sent by Campaignion?
- Action Emails: Used for email address confirmation, to send a thank you to your supporters or to send notifications to someone when a supporter completes the action.
- Email Protest: Emails to your protest target
- Email 2 Target: Various emails tailored to a set of targets, that automatically get set based on the supporters postcode or geo-location.
- System Emails: Campaignion sends out several system emails if users want to change their passwords.
Set up your Action: Email step
All actions on Campaignion have an email step with following options:
- Confirm Email: This enables Double-Opt-in => supporters/donors receive a confirmation link after submitting your form. By clicking on the link, they confirm their email address and the form entry is valid (meaning the protest email is sent, ...)
- Thank You Email: This email is sent to your supporter after a successful submission of your form.
- Notification Email: If you want to get notified that someone submitted your form, enable this!
These three emails hold the same basic configuration:
Field: "Email from address"
You can either choose to stay with the default email address or specify a Reply-To: address. You can't specify a custom 'From:' email address because we want to stay DMARC compliant. What does that mean? In short: Our Mailserver is not allowed to send an email on behalf of another domain, so we can't send it from e.g. email@example.com if we don't want to get on any spam blacklisting. If you are interested in the details, head over to our DMARC FAQ.
Field: "Email from name"
Choose Default or Custom: this is the name that will appear as sender.Here you can specify the name that accompanies the email. So your Reply-to line will look like e.g. this: "My Name <firstname.lastname@example.org>"
Set a subject for your email. As always keep it simple and meaningful. Something like "Thank you for taking action!" or "Please confirm your email address",...
Field: "Your email"
Customize the email body to your liking. You may include tokens that substitute for the supporters name, e.g.:
Thanks for taking action!
If you edit the Confirmation Email, be sure to include/ don't delete the
[submission:confirm_url] token. As this will provide the link to confirm the email address. Without it, the action can't be completed and the supporters get stuck!
At the end of the section there is a small link that lists all available tokens, which you can use to make your email more meaningful. For example you can address your supporter by name and provide a confirmation url, as well as referring to the donation amount or any other field, where you have requested information from the supporter. Simply copy and paste your desired token. You can find more about tokens here.
Send as HTML
You can choose to send your email as html or plain text. With html you will have colors, images and different font-sizes available, with plain text you get - plain text.
Send protest emails to your target
When setting up an Email protest you will fill in your email target(s) right after the first edit step. After you have saved your set of targets you can edit the form. This also the place to specify the email the target will receive and that supporters may edit.Normally you should have a template available, so you can simply select and apply one. If you lost/deleted/... this template and have no other source, here a short overview of how to set up your target email:
- a textfield labeld "Subject" or whatever you prefer. Make sure your form_key says: email_subject
- a textarea labeld "Message" or whatever you prefer. Make sure your form_key says: email_body
Now add your email subject and text into the "Default value" field. And maybe add a description for your supporters, so they know that this is the message that will be sent to the target. If you don't want your supporters to be able to edit the message at all, you can disable the field in the "Display" tab.
Don't forget to set those two fields to "required" in the options tab.
Tokens in your target email
How do Email to Target emails differ?
Campaingion's Email to Target feature is quite a lot newer than the Email protest. So the user experience is more polished. You have your own message step, can exclude targets based on customizable filters and are able to add message parts that aren't editable by the supporter.
When setting up your email to target action, the second step will also let you choose your dataset of targets. You can also allow supporters to edit the message to the target or toggle it off.
After the second step there is a whole step just dedicated to the emails those targets will receive.
The message step covers these fields:
- "Add specific message" - Use this to customize your message to a specific subset of targets. This could be for example, a certain party or a single person.
- "Add exclusion" - Use this to not send a message to a specific set, or individual targets and instead display the reason to your supporters.
- Subject - This is your normal email subject, as your target will see it.
The email body is split up into three fields:
- Header - Use this field to address the target and maybe write some introductory lines. This is not editable by the supporter.
- Body - This is the main part of the message that will be sent to the target. If you have chosen to make the message editable by your supporters, they will be able to edit this part of the message.
- Footer - Use this field to add the supporters name and details, as well as maybe some farewell lines. Like the header, this is not editable by the supporter.
All tokens are available in your message. At the bottom you will find two links that will give you a complete list of available tokens.
The fourth step is the normal form step. You can just drag and drop the "Target & Message" field where you want it in your form. However: The postcode and the target selector can't be placed on the same page. A 'page break' is needed between the postcode field and the target selector field.
This won't be covered in detail here. But just in case you can't find where to change these emails, be sure to head to --> advanced settings --> site settings --> account settings.
For more information look on drupal.org.