Reduce SMTP timeout

This commit is contained in:
Ivan Diaz 2019-03-10 19:15:46 -03:00
parent 5e356da79a
commit 6e0b7b7c80
1 changed files with 1 additions and 1 deletions

View File

@ -70,7 +70,7 @@ class MailSender {
$this->mailerInstance->Host = $this->mailOptions['smtp-host'];
$this->mailerInstance->Username = $this->mailOptions['smtp-user'];
$this->mailerInstance->Password = $this->mailOptions['smtp-pass'];
$this->mailerInstance->Timeout = 1000;
$this->mailerInstance->Timeout = 10;
$this->mailerInstance->SMTPOptions = [
'ssl' => [
'verify_peer' => false,