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 1mo 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 today

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

37

—

LowBetter than 84% of packages

Maintenance59

Moderate activity, may be stable

Popularity17

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity54

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

1751d 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

[php-imap/php-imap

Manage mailboxes, filter/get/delete emails in PHP (supports IMAP/POP3/NNTP)

1.7k12.7M37](/packages/php-imap-php-imap)[zbateson/mail-mime-parser

MIME email message parser

53847.9M66](/packages/zbateson-mail-mime-parser)[php-mime-mail-parser/php-mime-mail-parser

A fully tested email parser for PHP 8.0+ (mailparse extension wrapper).

9869.3M26](/packages/php-mime-mail-parser-php-mime-mail-parser)[webklex/php-imap

PHP IMAP client

4305.2M12](/packages/webklex-php-imap)[zbateson/stream-decorators

PHP psr7 stream decorators for mime message part streams

4747.3M3](/packages/zbateson-stream-decorators)[opcodesio/mail-parser

Parse emails without the mailparse extension

216.2M6](/packages/opcodesio-mail-parser)

PHPackages © 2026

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