PHPMailer\PHPMailer
SMTP::setTimeout
Set SMTP timeout.
Method of the class: SMTP{}
No Hooks.
Returns
null. Nothing (null).
Usage
$SMTP = new SMTP(); $SMTP->setTimeout( $timeout );
- $timeout(int)
- The timeout duration in seconds.
SMTP::setTimeout() SMTP::setTimeout code WP 6.9.1
public function setTimeout($timeout = 0)
{
$this->Timeout = $timeout;
}