/**
  * @throws \Magento\Framework\Exception\MailException
  */
 public function sendMessage()
 {
     try {
         if ($this->helper->isEnabled()) {
             parent::send($this->message);
         } else {
             $this->sendMail->send($this->message);
         }
     } catch (\Exception $e) {
         throw new \Magento\Framework\Exception\MailException(__($e->getMessage()), $e);
     }
 }
 /**
  * Send a mail using this transport
  *
  * @return void
  * @throws \Magento\Framework\Exception\MailException
  */
 public function sendMessage()
 {
     try {
         if ($this->_helper->isEnabled()) {
             parent::send($this->_message);
         } else {
             $normal = new \Zend_Mail_Transport_Sendmail();
             $normal->send($this->_message);
         }
     } catch (\Exception $e) {
         throw new \Magento\Framework\Exception\MailException(new \Magento\Framework\Phrase($e->getMessage()), $e);
     }
 }