source/Core/EmailBuilder.php
protected function buildEmail()
    {
        $email = $this->getEmailObject();

        $email->setSubject($this->getSubject());
        $email->setRecipient($this->getRecipient());
        $email->setFrom($this->getSender());
        $email->setBody($this->getBody());

        return $email;
    }
protected function buildEmail()
    {
        $email = $this->getEmailObject();

        $email->setSubject($this->getSubject());
        $email->setRecipient($this->getRecipient());
        $email->setFrom($this->getSender());
        $email->setBody($this->getBody());

        return $email;
    }
protected function buildEmail ( ) { $ email = $ this -> getEmailObject ( ) ; $ email -> setSubject ( $ this -> getSubject ( ) ) ; $ email -> setRecipient ( $ this -> getRecipient ( ) ) ; $ email -> setFrom ( $ this -> getSender ( ) ) ; $ email -> setBody ( $ this -> getBody ( ) ) ; return $ email ; }
Builds and returns the email object

@return \OxidEsales\Eshop\Core\Email
Builds and returns the email object