unclecheese / silverstripe-sendgrid-mailer
A drop-in mailer replacement for SendGrid
Installs: 6 308
Dependents: 0
Suggesters: 0
Security: 0
Stars: 3
Watchers: 3
Forks: 9
Open Issues: 2
Type:silverstripe-vendormodule
Requires
- php: >=7.2.0
- sendgrid/sendgrid: ^7.3
- silverstripe/framework: ^4
- silverstripe/vendor-plugin: ^1
Requires (Dev)
- phpunit/phpunit: ^5.7
- squizlabs/php_codesniffer: ^3
This package is auto-updated.
Last update: 2024-10-30 01:37:15 UTC
README
A drop-in solution to send all SilverStripe emails through SendGrid
Installation
composer require unclecheese/silverstripe-sendgrid-mailer
Environment Configuration
The mailer will activate once the following environment variable is set:
SENDGRID_API_KEY='mykey'
Test emails
If you want to test SendGrid from a dev environment, you can force all emails to a test address.
SENDGRID_TEST_EMAIL='myemail@example.com'