private function resetMessage()
    {
        $this->subject = '';
        $this->from = [];
        $this->sender = [];
        $this->to = [];
        $this->cc = [];
        $this->bcc = [];
        $this->reply_to = [];
        $this->attachments = [];
        $this->message_layout->setViewLayout('');
        $this->message_layout->setViewTemplate('');
        $this->message_layout->clearVariables();
    }