PHPackages                             trendwerk/smtp - 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. trendwerk/smtp

AbandonedArchivedWordpress-muplugin[Mail &amp; Notifications](/categories/mail)

trendwerk/smtp
==============

Send mail through SMTP. Made for WordPress.

1.0.1(10y ago)22.1k[1 issues](https://github.com/trendwerk/smtp/issues)GPL-2.0+PHPPHP &gt;=5.4

Since Jan 30Pushed 8y ago2 watchersCompare

[ Source](https://github.com/trendwerk/smtp)[ Packagist](https://packagist.org/packages/trendwerk/smtp)[ RSS](/packages/trendwerk-smtp/feed)WikiDiscussions master Synced 4w ago

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

SMTP
====

[](#smtp)

Send mail through SMTP. Made for WordPress.

### Installation

[](#installation)

If you're using Composer to manage WordPress, add this plugin to your project's dependencies. Run:

```
composer require trendwerk/smtp 1.0.1
```

### Setup

[](#setup)

These settings can be used to setup e-mail through SMTP. They should be defined in `wp-config.php`.

`TP_SMTP`

If set to `true`, will try to use SMTP.

`TP_SMTP_FROM`

The 'from' e-mailaddress which will be sent from.

`TP_SMTP_FROM_NAME`

The 'from' name which the e-mail will be sent from.

`TP_SMTP_HOST`

The hostname of the SMTP server. Example: `smtp.gmail.com`.

`TP_SMTP_SECURE`

Type of security that will be used. Example: tls.

`TP_SMTP_PORT`

The port which will be sent through. Example: 587.

`TP_SMTP_AUTH`

Whether to use authentication or not. Can either be `true` or `false`.

`TP_SMTP_USERNAME`

The username to authenticate with.

`TP_SMTP_PASSWORD`

The password to authenticate with.

### Example

[](#example)

```
/**
 * SMTP settings
 */
define('TP_SMTP', true);
define('TP_SMTP_FROM', 'you@domain.com');
define('TP_SMTP_FROM_NAME', 'Your Name');
define('TP_SMTP_HOST', 'smtp.gmail.com');
define('TP_SMTP_SECURE', tls);
define('TP_SMTP_PORT', 587);
define('TP_SMTP_AUTH', true);
define('TP_SMTP_USERNAME', 'you@domain.com');
define('TP_SMTP_PASSWORD', 'password');

```

###  Health Score

27

—

LowBetter than 46% of packages

Maintenance10

Infrequent updates — may be unmaintained

Popularity19

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity59

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 63.2% 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 ~553 days

Total

2

Last Release

3655d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/3ce3274dfde64e7afdd8a1c06a861dd0e65267afaba097fda8bad934877a471f?d=identicon)[haroldangenent](/maintainers/haroldangenent)

---

Top Contributors

[![sboerrigter](https://avatars.githubusercontent.com/u/786875?v=4)](https://github.com/sboerrigter "sboerrigter (12 commits)")[![haroldangenent](https://avatars.githubusercontent.com/u/1481468?v=4)](https://github.com/haroldangenent "haroldangenent (7 commits)")

### Embed Badge

![Health badge](/badges/trendwerk-smtp/health.svg)

```
[![Health](https://phpackages.com/badges/trendwerk-smtp/health.svg)](https://phpackages.com/packages/trendwerk-smtp)
```

###  Alternatives

[helsingborg-stad/municipio

A bootstrap theme for creating municipality sites.

4028.6k10](/packages/helsingborg-stad-municipio)[october/rain

October Rain Library

1601.7M99](/packages/october-rain)[pressbooks/pressbooks

Pressbooks is an open source book publishing tool built on a WordPress multisite platform. Pressbooks outputs books in multiple formats, including PDF, EPUB, web, and a variety of XML flavours, using a theming/templating system, driven by CSS.

45844.8k1](/packages/pressbooks-pressbooks)[elgg/elgg

Elgg is an award-winning social networking engine, delivering the building blocks that enable businesses, schools, universities and associations to create their own fully-featured social networks and applications.

1.7k17.3k98](/packages/elgg-elgg)[mediawiki/maps

Adds various mapping features to MediaWiki

85155.1k3](/packages/mediawiki-maps)[etailors/mautic-amazon-ses

Amazon SES Mailer Plugin for Mautic

595.0k](/packages/etailors-mautic-amazon-ses)

PHPackages © 2026

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