Ejemplo n.º 1
0
 public function onSend(Envelope $envelope)
 {
     $results = [];
     $recipients = $envelope->to();
     $envelope->to(false);
     foreach ($recipients as $to) {
         $results[$to] = mail($to, $envelope->subject(), $envelope->body(), $envelope->head());
     }
     return $results;
 }