Bundle features:
- Make a HTTP request everytime an email is sent!
- Clone this repo inside your mautic plugins directory
git clone https://github.com/gugacavalieri/mautic-sentEmail-webhook.git
- Clean cache using symfony commands
php app/console cache:clear
- Open Mautic Plugins Page and configure:
- Webhook URL
- API Key (for validating request at server side)
- Mautic Base URL for View In Browser URL
This is the Web Address (HTTP, HTTPS) that will be called after Mautic sends a new email !
The API Key parameter will be sent along with the HTTP request so that this could be validated at your server. It's just a signature for validating the request if wanted :)
This parameter will be used for composing the JSON message, adding a field called "viewUrl". This link contains the web address in which the Mautic Email can be viewed using a Web Browser