PHPackages                             toastnz/sendgrid-mailer - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Mail &amp; Notifications](/categories/mail)
4. /
5. toastnz/sendgrid-mailer

ActiveSilverstripe-module[Mail &amp; Notifications](/categories/mail)

toastnz/sendgrid-mailer
=======================

SilverStripe SendGrid Mailer

4.0.3(5y ago)118.9k—0%4[1 PRs](https://github.com/toastnz/sendgrid-mailer/pulls)BSD-3-ClausePHPCI failing

Since Sep 1Pushed 5y ago4 watchersCompare

[ Source](https://github.com/toastnz/sendgrid-mailer)[ Packagist](https://packagist.org/packages/toastnz/sendgrid-mailer)[ RSS](/packages/toastnz-sendgrid-mailer/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (4)Versions (10)Used By (0)

SilverStripe SendGrid Mailer
============================

[](#silverstripe-sendgrid-mailer)

Simple mailer module that uses SendGrid API to send emails.

Requirements
------------

[](#requirements)

- silverstripe/cms ^4.3.x
- silverstripe/framework ^4.3.x
- sendgrid/sendgrid ^7.3

Installation
------------

[](#installation)

```
composer require toastnz/sendgrid-mailer
```

Configuration
-------------

[](#configuration)

Add the following to your `app.yml`:

```
Toast\SSSendGrid\SendGridMailer:
  api_key: 'YOUR_SENDGRID_API_KEY'
```

Usage
-----

[](#usage)

Simply use the Email class provided by SilverStripe framework:

```
$email = new SilverStripe\Control\Email\Email();
$email->setFrom('from@example.com', 'John Doe');
$email->setTo('to@example.com', 'Jane Doe');
$email->setSubject('This is a test email');
$email->setBody('Hello there, this was sent using SendGrid');
$email->addAttachment('path/to/file.pdf', 'document.pdf');
$email->send();
```

###  Health Score

34

—

LowBetter than 77% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity28

Limited adoption so far

Community12

Small or concentrated contributor base

Maturity64

Established project with proven stability

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~86 days

Recently: every ~132 days

Total

8

Last Release

1845d ago

Major Versions

1.3.1 → 4.0.12021-03-30

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/49888163?v=4)[Leandro Palmieri](/maintainers/leandro-toastnz)[@leandro-toastnz](https://github.com/leandro-toastnz)

![](https://www.gravatar.com/avatar/df607b08f1e079b3bda7faf13d886ddbdb2b9f1e2e84fb646f953acbf787b152?d=identicon)[intotheweb101](/maintainers/intotheweb101)

---

Top Contributors

[![leandro-toastnz](https://avatars.githubusercontent.com/u/49888163?v=4)](https://github.com/leandro-toastnz "leandro-toastnz (3 commits)")

---

Tags

emailsilverstripesendgridmailer

### Embed Badge

![Health badge](/badges/toastnz-sendgrid-mailer/health.svg)

```
[![Health](https://phpackages.com/badges/toastnz-sendgrid-mailer/health.svg)](https://phpackages.com/packages/toastnz-sendgrid-mailer)
```

###  Alternatives

[markguinn/silverstripe-email-helpers

Silverstripe extension containing SMTP mailer class and some other classes for HTML emails

3145.4k1](/packages/markguinn-silverstripe-email-helpers)[camfindlay/apes

The Automated Provision of Email Services (APES) module will allow you to set up an automated sync mechanism between the SilverStripe Member DataObject and MailChimp.

122.6k](/packages/camfindlay-apes)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
