2020-06-12 17:47:07 +02:00
|
|
|
<?php
|
2020-11-30 18:10:05 +01:00
|
|
|
|
2020-06-12 17:47:07 +02:00
|
|
|
/**
|
|
|
|
* 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)
|
2020-10-13 16:00:10 +02:00
|
|
|
* @copyright 2012 - 2020 Marcus Bointon
|
2020-06-12 17:47:07 +02:00
|
|
|
* @copyright 2010 - 2012 Jim Jagielski
|
|
|
|
* @copyright 2004 - 2009 Andy Prevost
|
External Libraries: Upgrade PHPMailer to version 6.9.2.
This is a maintenance release with minor bug fixes.
References:
* [https://github.com/PHPMailer/PHPMailer/releases/tag/v6.9.2 PHPMailer 6.9.2 release notes]
* [https://github.com/PHPMailer/PHPMailer/compare/v6.9.1...v6.9.2 Full list of changes in PHPMailer 6.9.2]
Follow-up to [50628], [50799], [51169], [51634], [51635], [52252], [52749], [52811], [53500], [53535], [53917], [54427], [54937], [55557], [56484], [57137].
Props ayeshrajans.
Fixes #62206.
Built from https://develop.svn.wordpress.org/trunk@59246
git-svn-id: http://core.svn.wordpress.org/trunk@58638 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2024-10-17 13:31:12 +02:00
|
|
|
* @license https://www.gnu.org/licenses/old-licenses/lgpl-2.1.html GNU Lesser General Public License
|
2020-06-12 17:47:07 +02:00
|
|
|
* @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()
|
|
|
|
{
|
2021-08-18 15:53:58 +02:00
|
|
|
return '<strong>' . htmlspecialchars($this->getMessage(), ENT_COMPAT | ENT_HTML401) . "</strong><br />\n";
|
2020-06-12 17:47:07 +02:00
|
|
|
}
|
|
|
|
}
|