MailNotifier:补齐内置 PHPMailer 依赖(Exception/PHPMailer/SMTP)
This commit is contained in:
@@ -2,6 +2,10 @@
|
|||||||
|
|
||||||
> 本文件记录本插件的所有修改与变化。本次整理(2026-11-22)为规范化记录起点。
|
> 本文件记录本插件的所有修改与变化。本次整理(2026-11-22)为规范化记录起点。
|
||||||
|
|
||||||
|
## 2026-11-26 · MailNotifier:补齐内置 PHPMailer 依赖(Exception/PHPMailer/SMTP)
|
||||||
|
|
||||||
|
- 同步源码更新 3 个文件(新增/修改 3,删除 0)。
|
||||||
|
|
||||||
## 插件信息
|
## 插件信息
|
||||||
|
|
||||||
- 名称:MailNotifier
|
- 名称:MailNotifier
|
||||||
|
|||||||
40
PHPMailer/Exception.php
Normal file
40
PHPMailer/Exception.php
Normal file
@@ -0,0 +1,40 @@
|
|||||||
|
<?php
|
||||||
|
|
||||||
|
/**
|
||||||
|
* PHPMailer Exception class.
|
||||||
|
* PHP Version 5.5.
|
||||||
|
*
|
||||||
|
* @see https://github.com/PHPMailer/PHPMailer/ The PHPMailer GitHub project
|
||||||
|
*
|
||||||
|
* @author Marcus Bointon (Synchro/coolbru) <phpmailer@synchromedia.co.uk>
|
||||||
|
* @author Jim Jagielski (jimjag) <jimjag@gmail.com>
|
||||||
|
* @author Andy Prevost (codeworxtech) <codeworxtech@users.sourceforge.net>
|
||||||
|
* @author Brent R. Matzelle (original founder)
|
||||||
|
* @copyright 2012 - 2020 Marcus Bointon
|
||||||
|
* @copyright 2010 - 2012 Jim Jagielski
|
||||||
|
* @copyright 2004 - 2009 Andy Prevost
|
||||||
|
* @license http://www.gnu.org/copyleft/lesser.html GNU Lesser General Public License
|
||||||
|
* @note This program is distributed in the hope that it will be useful - WITHOUT
|
||||||
|
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
||||||
|
* FITNESS FOR A PARTICULAR PURPOSE.
|
||||||
|
*/
|
||||||
|
|
||||||
|
namespace PHPMailer\PHPMailer;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* PHPMailer exception handler.
|
||||||
|
*
|
||||||
|
* @author Marcus Bointon <phpmailer@synchromedia.co.uk>
|
||||||
|
*/
|
||||||
|
class Exception extends \Exception
|
||||||
|
{
|
||||||
|
/**
|
||||||
|
* Prettify error message output.
|
||||||
|
*
|
||||||
|
* @return string
|
||||||
|
*/
|
||||||
|
public function errorMessage()
|
||||||
|
{
|
||||||
|
return '<strong>' . htmlspecialchars($this->getMessage(), ENT_COMPAT | ENT_HTML401) . "</strong><br />\n";
|
||||||
|
}
|
||||||
|
}
|
||||||
5252
PHPMailer/PHPMailer.php
Normal file
5252
PHPMailer/PHPMailer.php
Normal file
File diff suppressed because it is too large
Load Diff
1497
PHPMailer/SMTP.php
Normal file
1497
PHPMailer/SMTP.php
Normal file
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user