Esempio n. 1
0
 /**
  * Send message with `Swift_MailTransport`
  *
  * @return mixed
  */
 public static function send()
 {
     $mailer = Transports::adapter('default');
     return $mailer->send(static::prepareData());
 }
Esempio n. 2
0
 public function test_unknown()
 {
     $this->expectException();
     $mailer = Transports::adapter('foo');
 }