Ejemplo n.º 1
0
 public function __construct(Smtp $smtp, $data)
 {
     parent::__construct($smtp);
     if (is_string($data)) {
         $data = explode($smtp->getConfig()->get('email.newline', "\r\n"), $data);
     }
     $this->data = $data;
 }
Ejemplo n.º 2
0
 public function __construct(Smtp $smtp, $mechanism)
 {
     parent::__construct($smtp);
     $this->mechanism = $mechanism;
 }
Ejemplo n.º 3
0
 public function __construct(Smtp $smtp, $command)
 {
     parent::__construct($smtp);
     $this->command = $command;
 }