src/Smtp.php
protected function getBody()
    {
        $type = 'Plain';
        if (count($this->body) > 1) {
            $type = 'Alternative';
        } else if (isset($this->body['text/html'])) {
            $type = 'Html';
        }

        $method = 'get%sBody';
        if (!empty($this->attachments)) {
            $method = 'get%sAttachmentBody';
        }

        $method = sprintf($method, $type);

        return $this->$method();
    }
protected function getBody()
    {
        $type = 'Plain';
        if (count($this->body) > 1) {
            $type = 'Alternative';
        } else if (isset($this->body['text/html'])) {
            $type = 'Html';
        }

        $method = 'get%sBody';
        if (!empty($this->attachments)) {
            $method = 'get%sAttachmentBody';
        }

        $method = sprintf($method, $type);

        return $this->$method();
    }
protected function getBody ( ) { $ type = 'Plain' ; if ( count ( $ this -> body ) > 1 ) { $ type = 'Alternative' ; } else if ( isset ( $ this -> body [ 'text/html' ] ) ) { $ type = 'Html' ; } $ method = 'get%sBody' ; if ( ! empty ( $ this -> attachments ) ) { $ method = 'get%sAttachmentBody' ; } $ method = sprintf ( $ method , $ type ) ; return $ this -> $ method ( ) ; }
Returns the body

@return array
Returns the body