This is a CiviCRM extension that makes it possible to enforce the use of a particular email address for any outgoing email from CiviCRM. This is particularly useful when looking to improve/maintain email sender reputations. In some cases ensuring that From: addresses adhere to a particualr convention is necessary to ensure mail delivery (eg. when using Amazon's Simple Email Service).
git clone this extension and install it in your CiviCRM extensions directory. Then go to the CiviCRM Modules administration screen and install and enable the extension.
None.
Clone the repository to your extensions directory.
git clone [email protected]/australiangreens/au.org.greens.enforcesenderdomain.git
Navigate to the CiviCRM administration menu.
Administer -> Customize Data and Screens -> Extensions
Install and enable the module.
Head to https://<your_civicrm_installation>/civicrm/enforcesender/settings.
Configure the extension with the required information:
- From: address - the address to use when rewriting the sending domain
- Exempt domain - Emails that use this domain (or its subdomains) in their From: address won't have their From: address rewritten
- Enforce sender domains - A checkbox that lets you (de)activate enforcement as desired
- Add navigation menu item
- Validate extension properly rewrites CiviMail (bulk) emails
- Validate extension properly rewrites template-based emails
- civix - The CiviCRM Extension Builder tool
- John Twyman - Initial work
This project is licensed under the AGPL-3.0 License.