| 1 | <?php |
||
| 16 | class Smtp extends AbstractTransport |
||
| 17 | { |
||
| 18 | /** |
||
| 19 | * @param string $host |
||
| 20 | * @param string $username |
||
| 21 | * @param string $password |
||
| 22 | */ |
||
| 23 | public function __construct($host, $username, $password) |
||
| 35 | |||
| 36 | /** |
||
| 37 | * @param int $port |
||
| 38 | * @return $this |
||
| 39 | */ |
||
| 40 | public function setSsl($port = 465) |
||
| 48 | |||
| 49 | /** |
||
| 50 | * @param int $port |
||
| 51 | * @return $this |
||
| 52 | */ |
||
| 53 | public function setTls($port = 587) |
||
| 61 | } |
||
| 62 |