data = $data; } /** * Build the message. * * @return $this */ public function build() { $address = 'support.rapport@stratawiz.com'; $subject = 'New Request to assign depot with tm, Employee Name: '.$this->data['employee_name'].' Mobile Number: '.$this->data['employee_phone']; $view = 'email.neblogistics_mapping'; $name = 'GNP Support Team'; return $this->view($view) ->from($address, $name) //->cc($address, $name) //->bcc($address, $name) ->replyTo($address, $name) ->subject($subject) ->with('data', $this->data); } }