Common\Mailer\Message::setPlainText PHP Méthode

setPlainText() public méthode

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