Zend\Mail\Protocol\Smtp::__construct
Constructor.
The first argument may be an array of all options. If so, it must include the 'host' and 'port' keys in order to ensure that all required values are present.
Signature
public function __construct([string
$host = '127.0.0.1',
[null|int
$port = null,
[array
$config = null]]] )
Parameters
$host
— string
$port
— object
$config
— array