Beispiel #1
0
 /**
  * @inheritDoc
  */
 public function handle(NotificationInterface $notification)
 {
     $this->getEmailClient()->sendEmail($notification->getEmailTemplate(), $notification->getRecipientAddress(), $notification->getParameters());
     return true;
 }
Beispiel #2
0
 public function handle(NotificationInterface $notification)
 {
     mail($notification->getRecipientAddress(), $notification->subject, $notification->body);
 }