Transactional Mail - Bounce and Tracking Handler
This extension adds bounce handling to CiviCRM's transactional emails and creates Activities for mail such as Receipts and Invoices, which by default are not tracked in CiviCRM.
CiviCRM by default only performs bounce handling when sending via CiviMail, but not when sending transactional emails such as scheduled reminders, event registrations, contribution receipts and the like. This extension addresses that limitation.
This extension was initially written by Dave Reedy on behalf of Fuzion and substantially extended by Jitendra Purohit.
No special configuration is required for this extension. Just install it!
How it works
This extension creates a pseudo-CiviMail named "Transactional Emails" which transactional emails are attached to. This could be improved to track by email type with multiple pseudo-CiviMails.
VERP processing is applied to all outgoing transactional (non Civimail) emails, and CiviMail's existing bounce handling may be applied to bounces returned from those emails.
Bounce reporting, delivery, open and click tracking should work as per regular CiviMails.
Standard Activities are created for Receipts and Invoices
- CiviMail doesn't do click tracking for URLs that contain tokens. By time the extension gets the message token replacement has already occurred. It decides to track or not track a URL based on the presence of certain query vars in the URL. There is class variable to specify which query vars to not track, defaulting to cid and cs.
- In the mailing summary report, the time listed for Intended Recipients uses the start time of the job. Since transactional mailings only have one job, all times will be listed the same regardless of when the message was actually sent. If you view the Successful Deliveries you will see the time the message was actually sent.
- It uses a custom template for the mailing summary report. It's replaced using a hook instead of an override.
- This extension should work for 4.6 CiviCRM.
Alongside funding from Fuzion and its clients, the development of this extension received financial support from Agileware to give back to the CiviCRM community and support Agileware's CiviCRM customers. Contact Agileware for CiviCRM support and development services in Australia.
This extension is contributed by Fuzion.
We welcome contributions and bug reports via the the nz.co.fuzion.transactional issue queue.
Community support is available via CiviCRM community channels:
Contact us - email@example.com - for professional support and development requests.