Skip to content

teamsinger/uk.teamsinger.civicrm.mailgun

Repository files navigation

uk.teamsinger.civicrm.mailgun

Mailgun bounce processing for CiviCRM

Installation Instructions

  1. Install extension following Manual installation of native extensions
  2. Update the Mail Protocol Option Group to add MailgunDB
  3. Update Mail Account settings adding the Mailgun API key as the password and updating the protocol for MailgunDB for the account used for Bounce Processing.
  4. Add webhook paths to skip IDS checks
  5. Configure Webhooks setting:
  6. Dropped messages to https://www.example.com/civicrm/mailgun/drop
  7. Hard bounces to https://www.example.com/civicrm/mailgun/bounce

Skip IDS Checks

When the webhooks are called these can trigger IDS checks in Civi. To get around this CRM/Core/IDS.php has been patched to allow additional paths to be skipped. These paths need adding by adding the following to settings.php (Drupal).

define( 'CIVICRM_IDS_SKIP', serialize( array('civicrm/mailgun/drop', 'civicrm/mailgun/bounce') ) );

Sponsored by Whirled Cinema

Releases

No releases published

Packages

No packages published