mail_obj = $mail_obj; } /** * Build the message. * * @return $this */ public function build() { return $this->from($this->mail_obj->from[0], $this->mail_obj->from[1]) ->subject($this->mail_obj->subject) ->markdown($this->mail_obj->markdown, $this->mail_obj->data) ->withSwiftMessage(function ($message) { $message->getHeaders()->addTextHeader('Tag', $this->mail_obj->tag); }); } }