/** * Set the email body * * @param string $content Body of the email * * @return Mail Returns this object for chaining. * * @since 11.1 */ public function setBody($content) { /* * Filter the Body * TODO: Check for XSS */ $this->Body = Helper::cleanText($content); return $this; }