progressivetech / com.aghstrategies.petitionemail

an extension that will allow the sending of emails to legislators and newspapers
Other
0 stars 2 forks source link

Petition Email

NOTE: This extension has been signficantly re-written from the original.

If you are upgrading, please see the upgrade notes below. Manual intervention will be necessary.

About

This extension allows the easy setup of automatic emails to decision-makers upon signing a CiviCRM petition.

It uses the CiviCRM outbound email system, which makes it configurable, but for obvious reasons, deliverability is not guaranteed and it only works for targets that have an email address.

Usage

When creating or editing a petition, you can expand a section at the bottom of the petition form and choose from a list of "Email Recipient Systems".

Static targets

This extension provides the "Static" system, allowing you to specify one or more targets that will receive an email everytime the petition is signed, regardless of the signer's address. The "Static" recipient system is useful when targeting a governor, mayor or CEO of a company.

Each target must be a contact in your database (you can configure the target with DO NOT EMAIL to avoid accidentally sending them your organizational email messages while still enabling them to receive petition email messages). You can also choose yourself as a BCC to receive an email everytime someone fills out your petition.

Dynamic targets

The Electoral extension provides a means for looking up elected officials based on address using several different commercial and non-profit APIS. If the electoral extension is installed, petitionemail will allow you to use any of the configured APIs to dynamically lookup an elected official based on the address of the petition signer.

Default message and subject

Lastly, you can indicate a default email subject and message.

When someone fills out the petition, they'll see a text box populated with your default message and default subject. If they don't touch it or if they delete it entirely, the defaults will be sent. Otherwise, the message they type will be sent.

The email will be sent with the signer's name in the email messages from field, but your organizational address (sending from the signer's email address will guarantee that the message goes straight to the spam box).

The signer's name and email will appear in the body of the message and the signer's email address will be set in the Reply-To header so if the target hits reply, it will go to the signer.

Upgrade

There are number of signficant changes from the original version of this extension, some of which require manual intervention.