Skip to content

Latest commit

 

History

History
62 lines (36 loc) · 1.94 KB

File metadata and controls

62 lines (36 loc) · 1.94 KB

Mail Address Manipulator

This plugin require mautic/mautic#7977. This PR add event on contact save.

Installation

Manual

  1. Use last version
  2. Unzip files to plugins/MauticAddressManipulatorBundle
  3. Clear cache (app/cache/prod/)
  4. Go to /s/plugins/reload

Usage

  1. Go to Mautic > Settings > Plugins
  2. You should see new Address Manipulator
  3. Enable it
  4. Enable feature what you want to use

Debug mode

Enable debug mode add logs about sync to System Info > Log

Company domain sync

  • require enabled service and field to sync domain/domains blacklist in plugin settings

How it works:

On company save

  • Sync company address to contact

image

Loop through all company contacts and sync address to contact based on plugin settings.

On contact save

Sync contact domain to company

image

- if primary company domain field not empty
- grab domain from contact email address (for example microsoft.com) and If it's most used domain from all contacts of company, then sync domain to domain field
Sync contact address to company address

image

Loop through all company contacts and sync address to company based on plugin settings and own logic criteria.

Command

php app/console mautic:address:manipulator:sync

  • --start-datetime - use 'Y-m-d H:i:s' format like '2018-12-24 20:30:00' or something like '-10 minutes - default -15 minutes
  • --end-datetime - use 'Y-m-d H:i:s' format like '2018-12-24 20:30:00' or something like '-10 minutes - default now

Icons

Icons made by Freepik