Install Plugin by copying it into the plugins directory. After that execute following command:
composer require sendgrid/sendgrid
SendGrid Plugins allows you to configure SendGrid for a multi-site setup. So, start configuring it in "Settings" -> "SendGrid"
The Plugin comes with 3 reports:
- Bounces
- Blocks
- Spams
This reports allow you to delete mails caught into one of those lists.
The Plugin sends additional Information to SendGrid using the SMTP API. This data includes:
- SendGrid Category = DocumentId
- Custom Args:
- ['customArgs']['class']: Newsletter Class Name if applicable
If configured, the plugin intercepts SendGrid Events and adds notes to the according Pimcore Class. The Plugin also triggers an event which can be intercepted inside your application.
Events:
- sendgrid.event: Generic Event which is fired each time sendgrid sends an event
- sendgrid.%eventName%: Event for a specific send grid event like blocked our bounced SendGrid Event API