Zend\Mail\Protocol\Imap::connect
Open connection to IMAP server
Signature
public function connect(string
$host,
[int|null
$port = null,
[string|bool
$ssl = false]] )
Parameters
$host
— string- hostname or IP address of IMAP server
$port
— object- of IMAP server, default is 143 (993 for ssl)
$ssl
— object- use 'SSL', 'TLS' or false
Returns
- string
- welcome message