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