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(3mo ago)081Apache-2.0PHP

Since Jan 20Pushed 3mo 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 today

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

34

—

LowBetter than 75% of packages

Maintenance78

Regular maintenance activity

Popularity4

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

117d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/40846185?v=4)[RedStar Technologies](/maintainers/rsthn)[@rsthn](https://github.com/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

[matomo/matomo

Matomo is the leading Free/Libre open analytics platform

21.7k38.9k](/packages/matomo-matomo)[getkirby/cms

The Kirby core

1.5k584.8k474](/packages/getkirby-cms)[ivantcholakov/codeigniter-phpmailer

A CodeIgniter 3 compatible email-library powered by PHPMailer.

25214.3k](/packages/ivantcholakov-codeigniter-phpmailer)[chameleon-system/chameleon-base

The Chameleon System core.

1028.6k5](/packages/chameleon-system-chameleon-base)[sproutcms/cms

Enterprise content management and framework

242.5k4](/packages/sproutcms-cms)

PHPackages © 2026

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