PHPackages                             rsthn/rose-ext-phpmailer - 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. rsthn/rose-ext-phpmailer

ActiveRose-extension[Mail &amp; Notifications](/categories/mail)

rsthn/rose-ext-phpmailer
========================

PHPMailer Extension for Rose

v2.0.1(2mo ago)061Apache-2.0PHP

Since Jan 20Pushed 2mo ago1 watchersCompare

[ Source](https://github.com/rsthn/rose-ext-phpmailer)[ Packagist](https://packagist.org/packages/rsthn/rose-ext-phpmailer)[ RSS](/packages/rsthn-rose-ext-phpmailer/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependencies (6)Versions (3)Used By (1)

PHPMailer Extension
===================

[](#phpmailer-extension)

This extension adds expression functions to [Rose](https://github.com/rsthn/rose-core) to send emails using PHPMailer.

Installation
============

[](#installation)

```
composer require rsthn/rose-ext-phpmailer
```

Configuration Section: `Mail`
-----------------------------

[](#configuration-section-mail)

FieldTypeNameDescriptionhost`string`SMTP host name.Requiredusername`string`Username for the SMTP server.Requiredpassword`string`Password for the SMTP server.Requiredport`int`Port number to connect.Default is port `587`.secure`boolean`, `string`SMTP secure connection mode.Default is `true`.
Use `explicit` if port is 587, `implicit` otherwise.
Set to `false` to disable and to `true` to use automatic detection based on port number.from`string`Email address of the sender.OptionalfromName`string`Name of the sender.OptionalExpression Functions
--------------------

[](#expression-functions)

### `mail:send` name:string value:string ...

[](#mailsend-namestring-valuestring-)

### `phpmailer:send` name:string value:string ...

[](#phpmailersend-namestring-valuestring-)

Accepts one or more name:value pairs, the name describes the field to set in the `mail` object of PHPMailer. Currently supported:

NameTypeDescriptionRCPT`string`Email address of the recipient.RCPT`array`Email addresses of the recipients.FROM`string`Email of the sender.FROM-NAME`string`Name of the sender.SUBJECT`string`Subject of the message.BODY`string`HTML contents of the message.ATTACHMENT`string`Adds the specified file (path) as an attachment.ATTACHMENT`map { name, data }`Adds an attachment from a given data string.ATTACHMENT`map { name, path }`Adds an attachment from a given path.ATTACHMENT`array`Adds one or more attachments (each of which can be any of the previous forms).Example:

```
(mail:send
	RCPT 'example@host.com'
	SUBJECT 'This is a test.'
	BODY 'Thanks for reading this email.'
)
```

###  Health Score

36

—

LowBetter than 82% of packages

Maintenance87

Actively maintained with recent releases

Popularity5

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity39

Early-stage or recently created project

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

Total

2

Last Release

64d ago

### Community

Maintainers

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

---

Top Contributors

[![rsthn](https://avatars.githubusercontent.com/u/40846185?v=4)](https://github.com/rsthn "rsthn (2 commits)")

### Embed Badge

![Health badge](/badges/rsthn-rose-ext-phpmailer/health.svg)

```
[![Health](https://phpackages.com/badges/rsthn-rose-ext-phpmailer/health.svg)](https://phpackages.com/packages/rsthn-rose-ext-phpmailer)
```

###  Alternatives

[ivantcholakov/codeigniter-phpmailer

A CodeIgniter 3 compatible email-library powered by PHPMailer.

25313.9k](/packages/ivantcholakov-codeigniter-phpmailer)[markguinn/silverstripe-email-helpers

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

3145.4k1](/packages/markguinn-silverstripe-email-helpers)[msp/smtp

SMTP with PHPMailer

2129.4k](/packages/msp-smtp)[nfephp-org/sped-mail

API para geração e envio dos emails relacionados com o SPED.

1123.7k](/packages/nfephp-org-sped-mail)

PHPackages © 2026

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