PHPackages                             uzulla/pseudo\_sendmail - 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. uzulla/pseudo\_sendmail

ActiveTool[Mail &amp; Notifications](/categories/mail)

uzulla/pseudo\_sendmail
=======================

pseudo sendmail by php

v1.0.2(4y ago)1527—0%[1 PRs](https://github.com/uzulla/pseudo_sendmail.php/pulls)MITPHPCI passing

Since May 20Pushed 3mo ago1 watchersCompare

[ Source](https://github.com/uzulla/pseudo_sendmail.php)[ Packagist](https://packagist.org/packages/uzulla/pseudo_sendmail)[ Docs](https://github.com/uzulla/pseudo_sendmail.php)[ RSS](/packages/uzulla-pseudo-sendmail/feed)WikiDiscussions main Synced 1mo ago

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

Pseudo sendmail
===============

[](#pseudo-sendmail)

This is pseudo `sendmail` command for developer.

Write raw mail(eml) to file.

setup
-----

[](#setup)

1. `composer require --dev uzulla/pseudo_sendmail`. or git clone and composer install.
2. set/change your sendmail path configuration.
3. send mail.

### php.ini sample

[](#phpini-sample)

```
sendmail_path = "/{this dir}/bin/sendmail"
# If you installed composer, also can be use following path.
sendmail_path = "/{project path}/vendor/bin/sendmail"

```

FYI: `sendmail_path` is `PHP_INI_SYSTEM`. so, You can't set by `ini_set()`.

### SwiftMailer sample

[](#swiftmailer-sample)

```
// ...
$transport = new Swift_SendmailTransport("/{this dir}/bin/sendmail -ti");
$mailer = new Swift_Mailer($transport);
// ...

```

> `-ti` is important. If use SwiftMailer default option `-bs`, the script will be hangup.

option / settings
-----------------

[](#option--settings)

- `-o/path/to/output` specify output file path
- `-na` not append eml. output file clear when every send reset.

```
sendmail -it -fasdf@example.jp -o/tmp/test.eml
sendmail -it -fasdf@example.jp -na -o/tmp

```

> `-i -t -f` or other options will be ignored.

> don't `-o /file`, must `-o/file`.

require
-------

[](#require)

- PHP&gt;=7.4

do you need mail sending sample?
--------------------------------

[](#do-you-need-mail-sending-sample)

see `tests/*`.

LICENSE
-------

[](#license)

MIT

###  Health Score

36

—

LowBetter than 82% of packages

Maintenance54

Moderate activity, may be stable

Popularity17

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity55

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

Total

3

Last Release

1800d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/68a7127f8cf8a54b0d05b62df1c7571dde5ebb23c7d9c30d36d78a13ecc2bbcf?d=identicon)[uzulla](/maintainers/uzulla)

---

Top Contributors

[![uzulla](https://avatars.githubusercontent.com/u/870716?v=4)](https://github.com/uzulla "uzulla (8 commits)")

---

Tags

mailsendmail

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/uzulla-pseudo-sendmail/health.svg)

```
[![Health](https://phpackages.com/badges/uzulla-pseudo-sendmail/health.svg)](https://phpackages.com/packages/uzulla-pseudo-sendmail)
```

###  Alternatives

[zbateson/mail-mime-parser

MIME email message parser

53949.2M79](/packages/zbateson-mail-mime-parser)[zbateson/stream-decorators

PHP psr7 stream decorators for mime message part streams

4748.6M6](/packages/zbateson-stream-decorators)[opcodesio/mail-parser

Parse emails without the mailparse extension

216.8M8](/packages/opcodesio-mail-parser)[scullwm/mailhookbundle

A bundle to catch API webhook from differents mail service

4020.5k](/packages/scullwm-mailhookbundle)[hautzi/system-mail-bundle

This Bundle provides a nice abstraction for sending system emails

181.8k](/packages/hautzi-system-mail-bundle)

PHPackages © 2026

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