/** * request the send of a transactional email * @return null */ public function transactionEmail(\App\V1\Mailers\Mandrill $mailer) { $data = ["email" => "*****@*****.**", "name" => "Paul Schneider"]; sd($mailer->send(new \App\V1\Mailers\Mandrill\Unsubscribeable($data))); }
/** * handle * @param \App\V1\Repositories\QueueRepository $queue * @return null */ public function handle(\App\V1\Mailers\Mandrill $mailer) { $mailer->send(new \App\V1\Mailers\Mandrill\Unsubscribeable(["email" => "*****@*****.**", "name" => "Paul Schneider"])); }