PHPMailer::mailSend
Send mail using the PHP mail() function.
Signature
protected function mailSend(string
$header,
string
$body )
Parameters
$header
—
string
The message headers
$body
—
string
The message body
Returns
- boolean
Errors/Exceptions
-
phpmailerException
Violations
PHPMessDetector
Line |
Rule |
Message |
1494 - 1530 |
CyclomaticComplexity
|
The method mailSend() has a Cyclomatic Complexity of 10. The configured cyclomatic complexity threshold is 10. |
1500 |
ShortVariable
|
Avoid variables with short names like $to. Configured minimum length is 3. |