sunnysideup / silverstripe-sendgrid-mailer
A drop-in mailer replacement for SendGrid
Installs: 1 536
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 2
Forks: 9
Type:silverstripe-vendormodule
Requires
- php: >=7.2.0
- sendgrid/sendgrid: ^7.3
- silverstripe/framework: ^4.0 || ^5.0
Requires (Dev)
- phpunit/phpunit: ^5.7
- squizlabs/php_codesniffer: ^3
This package is auto-updated.
Last update: 2024-12-20 03:00:00 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'