PHPackages                             weline/module-smtp - 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. weline/module-smtp

ActiveWeline-module[Mail &amp; Notifications](/categories/mail)

weline/module-smtp
==================

Weline smtp module

v1.1.3(3w ago)0721MITPHPPHP ^8.1

Since Oct 31Pushed 3w ago1 watchersCompare

[ Source](https://github.com/Aiweline/weline-module-smtp)[ Packagist](https://packagist.org/packages/weline/module-smtp)[ RSS](/packages/weline-module-smtp/feed)WikiDiscussions master Synced today

READMEChangelogDependencies (2)Versions (5)Used By (1)

weline-module-smtp
==================

[](#weline-module-smtp)

#### 介绍

[](#介绍)

Weline Smtp 模组提供统一发信入口，支持按发件人 code 配置多个发件来源。发件来源可以是外部 SMTP，也可以是 Weline Mail 自建邮局账号。

#### 使用说明

[](#使用说明)

后台入口：`Smtp邮件服务 -> Smtp配置`。

1. 添加发件人并填写唯一 `code`，业务模块可通过 `w_query('smtp', 'send', ['sender_code' => 'code'])` 指定发件人。
2. 选择 `外部 SMTP` 时，需要手动配置 SMTP 主机、端口、加密方式、认证方式、用户名和密码。
3. 选择 `自建邮局账号` 时，页面会提供可搜索的 Mail 账号选择器；选中账号后自动带出 SMTP 主机、端口、加密方式和用户名。
4. 自建 fake 邮局账号无需密码，测试发送会写入 Mail 发件箱和本地收件箱，并同步写入 SMTP 发送日志。
5. 真实自建邮局账号仍依赖 Mail 模块底层邮件服务环境，真实外部 SMTP 发送仍依赖客户提供可连接的外部 SMTP 凭据。

#### 参与贡献

[](#参与贡献)

1. Fork 本仓库
2. 新建 Feat\_xxx 分支
3. 提交代码
4. 新建 Pull Request

#### 特技

[](#特技)

1. 使用 Readme\_XXX.md 来支持不同的语言，例如 Readme\_en.md, Readme\_zh.md
2. Gitee 官方博客 [blog.gitee.com](https://blog.gitee.com)
3. 你可以  这个地址来了解 Gitee 上的优秀开源项目
4. [GVP](https://gitee.com/gvp) 全称是 Gitee 最有价值开源项目，是综合评定出的优秀开源项目
5. Gitee 官方提供的使用手册
6. Gitee 封面人物是一档用来展示 Gitee 会员风采的栏目

###  Health Score

43

—

FairBetter than 89% of packages

Maintenance95

Actively maintained with recent releases

Popularity8

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity51

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

Total

4

Last Release

23d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/6833ba028bd2e6b8d138e10f05f7ef049f70137a6bb38190ef6e100259cd9b32?d=identicon)[Aiweline](/maintainers/Aiweline)

---

Top Contributors

[![Aiweline](https://avatars.githubusercontent.com/u/32635766?v=4)](https://github.com/Aiweline "Aiweline (9 commits)")

### Embed Badge

![Health badge](/badges/weline-module-smtp/health.svg)

```
[![Health](https://phpackages.com/badges/weline-module-smtp/health.svg)](https://phpackages.com/packages/weline-module-smtp)
```

###  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.8k472](/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)
