PHPMailer::createBody
Assemble the message body.
Returns an empty string on failure.
Signature
public function createBody()
Returns
- string
- The assembled message body
Errors/Exceptions
Violations
PHPMessDetector
Line | Rule | Message |
---|---|---|
2203 - 2394 | CyclomaticComplexity | The method createBody() has a Cyclomatic Complexity of 25. The configured cyclomatic complexity threshold is 10. |
2203 - 2394 | NPathComplexity | The method createBody() has an NPath complexity of 19440. The configured NPath complexity threshold is 200. |
2203 - 2394 | ExcessiveMethodLength | The method createBody() has 192 lines of code. Current threshold is set to 100. Avoid really long methods. |