unclecheese/silverstripe-sendgrid-mailer

A drop-in mailer replacement for SendGrid

dev-master 2019-07-02 23:09 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'