src/Control/Email/Email.php
public function generatePlainPartFromBody()
    {
        $plainPart = $this->findPlainPart();
        if ($plainPart) {
            $this->getSwiftMessage()->detach($plainPart);
        }
        unset($plainPart);

        $this->getSwiftMessage()->addPart(
            Convert::xml2raw($this->getBody()),
            'text/plain',
            'utf-8'
        );

        return $this;
    }
public function generatePlainPartFromBody()
    {
        $plainPart = $this->findPlainPart();
        if ($plainPart) {
            $this->getSwiftMessage()->detach($plainPart);
        }
        unset($plainPart);

        $this->getSwiftMessage()->addPart(
            Convert::xml2raw($this->getBody()),
            'text/plain',
            'utf-8'
        );

        return $this;
    }
public function generatePlainPartFromBody ( ) { $ plainPart = $ this -> findPlainPart ( ) ; if ( $ plainPart ) { $ this -> getSwiftMessage ( ) -> detach ( $ plainPart ) ; } unset ( $ plainPart ) ; $ this -> getSwiftMessage ( ) -> addPart ( Convert :: xml2raw ( $ this -> getBody ( ) ) , 'text/plain' , 'utf-8' ) ; return $ this ; }
Automatically adds a plain part to the email generated from the current Body

@return $this
Automatically adds a plain part to the email generated from the current Body