PHPackages                             bertoost/craft-ssmtpmailer - 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. bertoost/craft-ssmtpmailer

ActiveCraft-plugin[Mail &amp; Notifications](/categories/mail)

bertoost/craft-ssmtpmailer
==========================

Craft 3 CMS plugin for adding the sSMTP mailer (sendmail replacement).

1.0.2(7y ago)01.0kMITPHPCI failing

Since Sep 18Pushed 3y ago1 watchersCompare

[ Source](https://github.com/bertoost/Craft-3-sSMTPMailer)[ Packagist](https://packagist.org/packages/bertoost/craft-ssmtpmailer)[ Docs](https://github.com/bertoost/Craft-3-sSMTPMailer)[ RSS](/packages/bertoost-craft-ssmtpmailer/feed)WikiDiscussions master Synced 2mo ago

READMEChangelog (3)Dependencies (1)Versions (5)Used By (0)

Craft CMS 3 - sSMTP Mailer
==========================

[](#craft-cms-3---ssmtp-mailer)

This mailer for Craft CMS 3 is a simple replacement for Sendmail, using sSMTP.

More information about sSMTP [can be found here](https://wiki.archlinux.org/index.php/SSMTP)

Install plugin
--------------

[](#install-plugin)

Use the Craft Plugin Store or use composer

```
# go to the project directory
cd /path/to/my-project.test

# tell Composer to load the plugin
composer require bertoost/craft-ssmtpmailer

# OR only for development
# composer require bertoost/craft-ssmtpmailer --dev

# tell Craft to install the plugin
./craft install/plugin ssmtpmailer
```

Executed command
----------------

[](#executed-command)

This adaptor is using the Swiftmailer Sendmail Transport literally. It is extending it and just replaces the command to execute.

The next command is used for sSMTP to send your email.

```
/usr/sbin/ssmtp -t

```

Configure it for development only
---------------------------------

[](#configure-it-for-development-only)

Since Craft 3, you can use multi-environment config in every single configuration file in your `config/` folder.

To setup this mailer only for dev-environment, you can change `config/app.php` in a multi-environment config and configure the sSMTP mailer for dev only.

```
return [
    // general for every environment
    '*' => [
        'modules' => [
            // ...
        ],
        'bootstrap' => [
            // ...
        ],
    ],

    // Staging environment settings
    'staging' => [
        // ...
    ],

    // Dev environment settings
    'dev' => [
        'components' => [
            'mailer' => function() {
                // Get the stored email settings
                $settings = Craft::$app->getSystemSettings()->getEmailSettings();
                $settings->transportType = bertoost\ssmtpmailer\mail\Ssmtp::class;
                $settings->transportSettings = [];

                return craft\helpers\MailerHelper::createMailer($settings);
            },
        ],
    ],
];
```

###  Health Score

29

—

LowBetter than 60% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity14

Limited adoption so far

Community4

Small or concentrated contributor base

Maturity65

Established project with proven stability

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 ~0 days

Total

3

Last Release

2790d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/6ae1983205524caee317e793a16aac7994a53bed048a7257d85dbdab53ba5008?d=identicon)[bertoost](/maintainers/bertoost)

---

Tags

pluginmailerCraftcraftcmscraftcms-pluginssmtp

### Embed Badge

![Health badge](/badges/bertoost-craft-ssmtpmailer/health.svg)

```
[![Health](https://phpackages.com/badges/bertoost-craft-ssmtpmailer/health.svg)](https://phpackages.com/packages/bertoost-craft-ssmtpmailer)
```

###  Alternatives

[froala/craft-froala-wysiwyg

Craft 3 CMS plugin for Froala WYSIWYG HTML Rich Text Editor.

1719.0k](/packages/froala-craft-froala-wysiwyg)

PHPackages © 2026

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