PHPackages                             ibibicloud/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. [Utility &amp; Helpers](/categories/utility)
4. /
5. ibibicloud/phpmailer

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

ibibicloud/phpmailer
====================

基于PHPMailer=v6.9.6

0.1.2(1y ago)04LGPL-2.1-onlyPHPPHP &gt;=5.6.0

Since Mar 25Pushed 1y ago1 watchersCompare

[ Source](https://github.com/ibibicloud/phpmailer)[ Packagist](https://packagist.org/packages/ibibicloud/phpmailer)[ RSS](/packages/ibibicloud-phpmailer/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (3)DependenciesVersions (4)Used By (0)

PHPMailer
=========

[](#phpmailer)

基于

安装
--

[](#安装)

```
composer require ibibicloud/phpmailer

```

文档
--

[](#文档)

示例
--

[](#示例)

```
use PHPMailer\PHPMailer;
use PHPMailer\SMTP;
use PHPMailer\Exception;

$mail = new PHPMailer(true);
try {
    // $mail->SMTPDebug	= SMTP::DEBUG_SERVER;
    $mail->isSMTP();
    $mail->Host			= 'smtp.qiye.aliyun.com';
    $mail->SMTPAuth		= true;
    $mail->Username		= '发件人邮箱账号@nice.day';
    $mail->Password		= '国内邮箱请使用授权码而非密码';
    $mail->SMTPSecure	= PHPMailer::ENCRYPTION_SMTPS;
    $mail->Port			= 465;
    $mail->CharSet		= PHPMailer::CHARSET_UTF8;
    $mail->setFrom('发件人邮箱账号@nice.day', '阿里邮箱');
    $mail->addAddress('收件人邮箱账号@nice.day', 'QQ邮箱');
    $mail->isHTML(true);
    $mail->Subject = '这是邮件标题';
    $mail->Body    = '这是文件内容这是加粗';
    $mail->send();
    echo 'Message has been sent';
} catch (Exception $e) {
    echo "Message could not be sent. Mailer Error: {$mail->ErrorInfo}";
}

```

###  Health Score

21

—

LowBetter than 19% of packages

Maintenance47

Moderate activity, may be stable

Popularity3

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity24

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

Total

3

Last Release

391d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/207aa3cd185919cd44f64ff5b58c4472825cef4a71adcbf446787765353ef4fa?d=identicon)[ibibicloud](/maintainers/ibibicloud)

---

Top Contributors

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

---

Tags

phpmaileribibicloud

### Embed Badge

![Health badge](/badges/ibibicloud-phpmailer/health.svg)

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

PHPackages © 2026

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