sunnysideup / silverstripe-sendgrid-mailer
A drop-in mailer replacement for SendGrid
Package info
github.com/sunnysideup/silverstripe-sendgrid-mailer
Type:silverstripe-vendormodule
pkg:composer/sunnysideup/silverstripe-sendgrid-mailer
1.0.2
2023-07-25 00:38 UTC
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: 2026-02-20 05:27:25 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'