protected function _createMessage()
    {
        $message = Swift_Message::newInstance()
        ->setCharset($this->_charset)
        ->setContentType($this->_contentType)
        ->setPriority($this->_priority)
        ->setMaxLineLength($this->_maxLineLength)
        ->setSubject($this->_subject)
        ->setTo($this->_to)
        ->setBody($this->_body);

        if(!empty($this->_cc)) {
            $message->setCc($this->_cc);
        }

        if(!empty($this->_bcc)) {
            $message->setBcc($this->_bcc);
        }

        if(!empty($this->_sender)) {
            $message->setSender($this->_sender);
        } else {
            $message->setSender($this->_site_settings->mailfrom, $this->_site_settings->fromname);
        }

        if(!empty($this->_from)) {
            $message->setFrom($this->_from);
        } else {
            $message->setFrom($this->_site_settings->mailfrom, $this->_site_settings->fromname);
        }

        if(count($this->_reply_to)) {
            $message->setReplyTo($this->_reply_to);
        } else {
            $message->setReplyTo($this->_site_settings->mailfrom, $this->_site_settings->fromname);
        }

        return $message;
    }