Transactional support and tracking(open and click) implementation
Created by: Kajakaran
Can be closed previous PR as this PR has that code as well.
https://github.com/cividesk/com.cividesk.email.sparkpost/pull/20
- Create meta data for transactional email and attach to mail header
- Implement 'postEmailSend' hook so that those transactional emails will show up in successful deliveries in mailing report
- Add open and click events to listen in addition to bounce', 'spam_complaint', 'policy_rejection by web hook via API
- Enable open_tracking and click_tracking via API
- Handle track events (open and click) for transactional email in call back
- Attach campaign_id as mailing name