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

1.0.2 2023-07-25 00:38 UTC

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'