PHPackages                             azt3k/abc-silverstripe-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. azt3k/abc-silverstripe-mailer

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

azt3k/abc-silverstripe-mailer
=============================

Library that adds smtp mail support to Silverstripe

0.6.1(8y ago)1425.1k↓100%10[5 issues](https://github.com/azt3k/abc-silverstripe-mailer/issues)[5 PRs](https://github.com/azt3k/abc-silverstripe-mailer/pulls)BSD-3-Clause-ClearPHPPHP &gt;=5.3.0

Since Feb 26Pushed 7y ago2 watchersCompare

[ Source](https://github.com/azt3k/abc-silverstripe-mailer)[ Packagist](https://packagist.org/packages/azt3k/abc-silverstripe-mailer)[ RSS](/packages/azt3k-abc-silverstripe-mailer/feed)WikiDiscussions master Synced today

READMEChangelog (7)Dependencies (6)Versions (15)Used By (0)

[![Build Status](https://camo.githubusercontent.com/0bf8331681756937c57cd8e3abfe467b994ef0996c05bfba73c6c11161fe993f/68747470733a2f2f7472617669732d63692e6f72672f617a74336b2f6162632d73696c7665727374726970652d6d61696c65722e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/azt3k/abc-silverstripe-mailer)

Setup
-----

[](#setup)

Add the following to you composer.json file:

```
"require": {
    "azt3k/abc-silverstripe-mailer" : "*@stable"
}
```

Add something like the following your `mysite/_config.php` file:

```
SmtpMailer::set_conf(array(
    'default_from'      => array(
                               'name'  => 'admin',
                               'email' => 'admin@localhost'
                           ),
    'charset_encoding'  => 'utf-8',
    'server'            => 'localhost',
    'port'              => 25,
    'secure'            => null,
    'authenticate'      => false,
    'user'              => 'username',
    'pass'              => 'password',
    'debug'             => 0,
    'lang'              => 'en'
));
```

or

```
SmtpMailer::set_conf(array(
    'default_from'      => array(
                               'name'  => 'user',
                               'email' => 'user@gmail.com'
                           ),
    'charset_encoding'  => 'utf-8',
    'server'            => 'smtp.gmail.com',
    'port'              => 587,
    'secure'            => 'tls',
    'authenticate'      => true,
    'user'              => 'user@gmail.com',
    'pass'              => 'password',
    'debug'             => 0,
    'lang'              => 'en'
));
```

Alternatively insert the configuration into your `project/_config/config.yml` file

```
SmtpMailer:
  conf:
    default_from:
      name: user
      email: user@gmail.com
    charset_encoding: utf-8
    server: smtp.gmail.com
    port: 587
    secure: tls
    authenticate: true
    user: user@gmail.com
    pass: password'
    debug: 0
    lang: en
```

License
-------

[](#license)

Copyright (c) 2018 Aaron Latham-Ilari

All rights reserved.

Redistribution and use in source and binary forms, with or without modification, are permitted (subject to the limitations in the disclaimer below) provided that the following conditions are met:

- Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
- Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
- Neither the name of \[Owner Organization\] nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.

NO EXPRESS OR IMPLIED LICENSES TO ANY PARTY'S PATENT RIGHTS ARE GRANTED BY THIS LICENSE. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

###  Health Score

32

—

LowBetter than 74% of packages

Maintenance13

Infrequent updates — may be unmaintained

Popularity32

Limited adoption so far

Community17

Small or concentrated contributor base

Maturity56

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 86.6% 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 ~82 days

Recently: every ~195 days

Total

14

Last Release

2972d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/7aa5c9877a2e5a87484237338f9ac6cd31dbbe291fa9a55fd705656916e2fdec?d=identicon)[azt3k](/maintainers/azt3k)

---

Top Contributors

[![azt3k](https://avatars.githubusercontent.com/u/1156443?v=4)](https://github.com/azt3k "azt3k (71 commits)")[![hkoch-et](https://avatars.githubusercontent.com/u/14055741?v=4)](https://github.com/hkoch-et "hkoch-et (5 commits)")[![bueckl](https://avatars.githubusercontent.com/u/7315671?v=4)](https://github.com/bueckl "bueckl (3 commits)")[![camfindlay](https://avatars.githubusercontent.com/u/367847?v=4)](https://github.com/camfindlay "camfindlay (2 commits)")[![threesquared](https://avatars.githubusercontent.com/u/892142?v=4)](https://github.com/threesquared "threesquared (1 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/azt3k-abc-silverstripe-mailer/health.svg)

```
[![Health](https://phpackages.com/badges/azt3k-abc-silverstripe-mailer/health.svg)](https://phpackages.com/packages/azt3k-abc-silverstripe-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)[sheadawson/silverstripe-timednotices

Display notice banners in the cms interface over a given time period. Good for notifying cms users of scheduled updates or downtime etc.

1312.6k1](/packages/sheadawson-silverstripe-timednotices)[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)
