class Exception
Search API
PHPMailer exception handler.
@author Marcus Bointon <phpmailer@synchromedia.co.uk>
Hierarchy
- class \PHPMailer\PHPMailer\Exception extends \Exception
Expanded class hierarchy of Exception
1 file declares its use of Exception
- smtp.module in modules/
smtp/ smtp.module - This is the main module file for SMTP, which will let us send emails using SMTP instead of PHP's mail() command.
File
- inc/
PHPMailer/ src/ Exception.php, line 28
Namespace
PHPMailer\PHPMailerView source
class Exception extends \Exception
{
/**
* Prettify error message output.
*
* @return string
*/
public function errorMessage()
{
return '<strong>' . htmlspecialchars($this->getMessage()) . "</strong><br />\n";
}
}
Members
Name | Modifiers | Type | Description |
---|---|---|---|
Exception:: |
public | function | Prettify error message output. |