PHPMailer\PHPMailer
SMTP::setTimeout()
Set SMTP timeout.
{} It's a method of the class: SMTP{}
No Hooks.
Return
null
. Nothing.
Usage
$SMTP = new SMTP(); $SMTP->setTimeout( $timeout );
- $timeout(int)
- The timeout duration in seconds
Code of SMTP::setTimeout() SMTP::setTimeout WP 6.0
public function setTimeout($timeout = 0) { $this->Timeout = $timeout; }