Skip to content

Commit

Permalink
Fix timeout for RFC to match SMTP class default, see PHPMailer#293
Browse files Browse the repository at this point in the history
  • Loading branch information
Synchro committed Oct 10, 2014
1 parent 9a34593 commit 34d35f3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion class.phpmailer.php
Expand Up @@ -289,9 +289,10 @@ class PHPMailer

/**
* The SMTP server timeout in seconds.
* Default of 5 minutes (300sec) is from RFC2821 section 4.5.3.2
* @type integer
*/
public $Timeout = 10;
public $Timeout = 300;

/**
* SMTP class debug output mode.
Expand Down

0 comments on commit 34d35f3

Please sign in to comment.