PHPMailer\PHPMailer\PHPMailer::smtpConnect
Initiate a connection to an SMTP server.
Returns false if the operation failed.
Signature
public function smtpConnect([array
$options = NULL] )
Parameters
$options
— array- An array of options compatible with stream_context_create()
Returns
- bool