PHPackages                             trk/processwire-php-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. trk/processwire-php-mailer

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

trk/processwire-php-mailer
==========================

This module extends WireMail base class, integrating the PHPMailer mailing library into ProcessWire.

v1.4.3(6mo ago)41[1 issues](https://github.com/trk/WireMailPHPMailer/issues)MITPHPPHP &gt;=7.0CI passing

Since Mar 29Pushed 6mo ago1 watchersCompare

[ Source](https://github.com/trk/WireMailPHPMailer)[ Packagist](https://packagist.org/packages/trk/processwire-php-mailer)[ Docs](https://github.com/trk/WireMailPHPMailer)[ Patreon](https://www.patreon.com/ukyo)[ RSS](/packages/trk-processwire-php-mailer/feed)WikiDiscussions master Synced 1mo ago

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

WireMailPHPMailer
=================

[](#wiremailphpmailer)

This module extends WireMail base class, integrating the [PHPMailer](https://github.com/PHPMailer/PHPMailer) mailing library into ProcessWire.The module using [PHPMailer](https://github.com/PHPMailer/PHPMailer). You can see an example usage below.

[Simple example](https://github.com/PHPMailer/PHPMailer#a-simple-example)

[Other examples](https://github.com/PHPMailer/PHPMailer/tree/master/examples)

[Wiki](https://github.com/PHPMailer/PHPMailer/wiki)

You can set your configs from module settings or you can directly call `$mail = wire("modules")->get("WireMailPHPMailer"); $mail = $mail->mailer();` function for `new PHPMailer()` instance.

Using Directly PHPMailer library
--------------------------------

[](#using-directly-phpmailer-library)

```
/** @var WireMailPHPMailer $mail */
$mail = wire("modules")->get("WireMailPHPMailer");
// load module without module configs
/** @var PHPMailer $mail */
$mail = $mail->getInstance(false);
```

```
$mail = wire("modules")->get("WireMailPHPMailer");
$mail = $mail->getInstance();
$mail->addAddress("email@domain.ltd", "Someone");
$mail->isHTML(true);
$mail->Subject = "WireMailPHPMailer";
$html = "WireMailPHPMailer";
$text = "WireMailPHPMailer";
$mail->Body    = $html;
$mail->AltBody = $text;
$mail->send();
```

Using Like classic WireMail method
----------------------------------

[](#using-like-classic-wiremail-method)

```
$mail = wire("modules")->get("WireMailPHPMailer");
$mail->from("from@domain.ltd")
    ->fromName("A From Name")
    ->to('email@domain.ltd')
    ->subject('A Message Subject')
    ->body('A Message Body')
    ->bodyHtml("A HTML Message Body")
    ->send();
```

###  Health Score

35

—

LowBetter than 80% of packages

Maintenance64

Regular maintenance activity

Popularity5

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity56

Maturing project, gaining track record

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

Total

2

Last Release

182d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/455983?v=4)[Iskender TOTOĞLU](/maintainers/trk)[@trk](https://github.com/trk)

---

Top Contributors

[![trk](https://avatars.githubusercontent.com/u/455983?v=4)](https://github.com/trk "trk (63 commits)")

---

Tags

processwiremailerphp-mailer

### Embed Badge

![Health badge](/badges/trk-processwire-php-mailer/health.svg)

```
[![Health](https://phpackages.com/badges/trk-processwire-php-mailer/health.svg)](https://phpackages.com/packages/trk-processwire-php-mailer)
```

PHPackages © 2026

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