/** * Transport the message * * @param string $transport Use a diffrent transporter * @return void */ protected function transport($transporter = null) { if (!is_null($transporter)) { $transporter = Transporter::create($transporter); } else { $transporter = $this->transporter; } // pass the current mail to the transporter $transporter->send($this); }