property SMTP::$Timeout

The timeout value for connection, in seconds. Default of 5 minutes (300sec) is from RFC2821 section 4.5.3.2. This needs to be quite high to function correctly with hosts using greetdelay as an anti-spam measure.

Type: int

See also

http://tools.ietf.org/html/rfc2821#section-4.5.3.2

File

inc/PHPMailer/src/SMTP.php, line 140

Class

SMTP
PHPMailer RFC821 SMTP email transport class. Implements RFC 821 SMTP commands and provides some utility methods for sending mail to an SMTP server.

Code

public $Timeout = 300;