public function setText(string $text): self
    {
        return $this->addPart(Part::create($text, 'text/plain'), true);
    }
public function setText(string $text): self
    {
        return $this->addPart(Part::create($text, 'text/plain'), true);
    }
public function setText ( string $ text ) : self { return $ this -> addPart ( Part :: create ( $ text , 'text/plain' ) , true ) ; }
Add or replace the plain text part of the mail.

@param string $text

@return $this
Add or replace the plain text part of the mail .