PHPMailer::smtpSend
Send mail via SMTP.
Returns false if there is a bad MAIL FROM, RCPT, or DATA input. Uses the PHPMailerSMTP class by default.
Signature
protected function smtpSend(string
$header,
string
$body )
Parameters
$header
— string
The message headers$body
— string
The message body
Returns
- boolean
Errors/Exceptions
Violations
PHPMessDetector
Line | Rule | Message |
---|---|---|
1561 - 1619 | CyclomaticComplexity | The method smtpSend() has a Cyclomatic Complexity of 12. The configured cyclomatic complexity threshold is 10. |
1561 - 1619 | NPathComplexity | The method smtpSend() has an NPath complexity of 576. The configured NPath complexity threshold is 200. |