PHPMailer::wrapText
Word-wrap message.
For use with mailers that do not automatically perform wrapping and for quoted-printable encoded messages. Original written by philippe.
Signature
public function wrapText(string
$message,
integer
$length,
[boolean
$qp_mode = false] )
Parameters
$message
— string
The message to wrap$length
— integer
The line length to wrap to$qp_mode
— boolean
Whether to run in Quoted-Printable mode
Returns
- string
Violations
PHPMessDetector
Line | Rule | Message |
---|---|---|
1869 - 1957 | CyclomaticComplexity | The method wrapText() has a Cyclomatic Complexity of 21. The configured cyclomatic complexity threshold is 10. |
1869 - 1957 | NPathComplexity | The method wrapText() has an NPath complexity of 444. The configured NPath complexity threshold is 200. |