Common\Mailer\Message::setPlainText PHP Method

setPlainText() public method

Add plaintext content as fallback for the html
public setPlainText ( string $content ) : Message
$content string
return Message
    public function setPlainText($content)
    {
        if ($content !== null) {
            $this->addPart($content, 'text/plain');
        }
        return $this;
    }