diff options
author | citizenz7 <citizenz7@protonmail.com> | 2017-04-20 18:50:55 +0200 |
---|---|---|
committer | citizenz7 <citizenz7@protonmail.com> | 2017-04-20 18:50:55 +0200 |
commit | 5fd9fa480f302902328b81f912dd67ce378284f8 (patch) | |
tree | 66234843ae2857fda12442e4f7577c527d48977c /Html/classes/phpmailer/exception.php | |
parent | ebe731862c7c741171138b1083906f391fc35aff (diff) | |
download | freetorrent-5fd9fa480f302902328b81f912dd67ce378284f8.tar.xz freetorrent-5fd9fa480f302902328b81f912dd67ce378284f8.zip |
V.1.4.6
Diffstat (limited to 'Html/classes/phpmailer/exception.php')
-rw-r--r-- | Html/classes/phpmailer/exception.php | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/Html/classes/phpmailer/exception.php b/Html/classes/phpmailer/exception.php new file mode 100644 index 0000000..9a4b846 --- /dev/null +++ b/Html/classes/phpmailer/exception.php @@ -0,0 +1,18 @@ +<?php +/** + * PHPMailer exception handler + * @package PHPMailer + */ + +class PhpMailerException extends \Exception +{ + /** + * Prettify error message output + * @return string + */ + public function errorMessage() + { + $errorMsg = '<strong>' . $this->getMessage() . "</strong><br />\n"; + echo $errorMsg; + } +} |