| 1 | <?php |
||
| 20 | class MailServiceOptions extends SmtpOptions |
||
| 21 | { |
||
| 22 | /** |
||
| 23 | * @var string Local client hostname |
||
| 24 | */ |
||
| 25 | protected $name = 'localhost'; |
||
| 26 | |||
| 27 | /** |
||
| 28 | * @var string |
||
| 29 | */ |
||
| 30 | protected $connectionClass = 'smtp'; |
||
| 31 | |||
| 32 | /** |
||
| 33 | * Connection configuration (passed to the underlying Protocol class) |
||
| 34 | * |
||
| 35 | * @var array |
||
| 36 | */ |
||
| 37 | protected $connectionConfig = []; |
||
| 38 | |||
| 39 | /** |
||
| 40 | * @var string Remote SMTP hostname or IP |
||
| 41 | */ |
||
| 42 | protected $host = '127.0.0.1'; |
||
| 43 | |||
| 44 | /** |
||
| 45 | * @var int |
||
| 46 | */ |
||
| 47 | protected $port = 25; |
||
| 48 | |||
| 49 | /** |
||
| 50 | * @var string |
||
| 51 | */ |
||
| 52 | protected $ssl; |
||
| 53 | |||
| 54 | /** |
||
| 55 | * @var string username |
||
| 56 | */ |
||
| 57 | protected $username; |
||
| 58 | |||
| 59 | /** |
||
| 60 | * @var string password |
||
| 61 | */ |
||
| 62 | protected $password; |
||
| 63 | |||
| 64 | |||
| 65 | public function setUsername($username) { |
||
| 71 | |||
| 72 | public function getUsername(){ |
||
| 75 | |||
| 76 | public function setPassword($password) { |
||
| 82 | |||
| 83 | public function getPassword(){ |
||
| 86 | |||
| 87 | public function setSsl($ssl) { |
||
| 93 | |||
| 94 | public function getSsl(){ |
||
| 97 | } |