Skip to content

Commit 48f6bd9

Browse files
yehangjunepriestley
authored and
epriestley
committedApr 24, 2014
Changed default timeout of smtp from 10s to 60s.
Summary: Our smtp server responded slowly sometimes and reached the timeout, but actually it had sent the email successfully. The mta then retried and sent duplicated emails. So changed to a bigger default value. Test Plan: Tested in our deployed and it worked Reviewers: #blessed_reviewers, epriestley Reviewed By: #blessed_reviewers, epriestley Subscribers: epriestley, Korvin Differential Revision: https://secure.phabricator.com/D8852
1 parent 0f2ec96 commit 48f6bd9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎externals/phpmailer/class.phpmailer.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -221,7 +221,7 @@ class PHPMailer {
221221
* This function will not work with the win32 version.
222222
* @var int
223223
*/
224-
public $Timeout = 10;
224+
public $Timeout = 60;
225225

226226
/**
227227
* Sets SMTP class debugging on or off.

0 commit comments

Comments
 (0)
Failed to load comments.