PHPackages                             uban/mail - 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. uban/mail

ActiveLibrary

uban/mail
=========

Uban统一邮件发送程序

0445PHP

Since Jan 22Pushed 5y ago1 watchersCompare

[ Source](https://github.com/gengqiupeng/UbanMail)[ Packagist](https://packagist.org/packages/uban/mail)[ RSS](/packages/uban-mail/feed)WikiDiscussions master Synced 1w ago

READMEChangelogDependenciesVersions (1)Used By (0)

UbanLogin
=========

[](#ubanlogin)

uban邮件发送项目提取

本项目依赖于thinkphp6.0

使用说明

> composer require phpmailer/phpmailer dev-master composer require uban/mail dev-master

后台发送邮件
------

[](#后台发送邮件)

> 两个重点
> 1：如何后台执行命令
> 2：如何把php生成的邮件信息发送给命令行，这里通过redis传递

1：复制 tool/SendMail.php 到项目中app/command文件夹中
2：修改config/console.php 添加命令
3：复制sendMail.sh 到项目根目录
4：调用`UbanMail::backSendByRedis()`

> 暂时仅支持redis方式传递邮件信息
> redis 有效期为10小时，后续考虑修改为获取项目配置

###  Health Score

19

—

LowBetter than 10% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity12

Limited adoption so far

Community4

Small or concentrated contributor base

Maturity31

Early-stage or recently created project

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.

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/70122984?v=4)[ubanjiaoyu](/maintainers/ubanjiaoyu)[@ubanjiaoyu](https://github.com/ubanjiaoyu)

### Embed Badge

![Health badge](/badges/uban-mail/health.svg)

```
[![Health](https://phpackages.com/badges/uban-mail/health.svg)](https://phpackages.com/packages/uban-mail)
```

PHPackages © 2026

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