Skip to content

Commit 50e20eb

Browse files
committed
Update PHPMailer (5.2.26)
1 parent 5bab348 commit 50e20eb

2 files changed

Lines changed: 5 additions & 3 deletions

File tree

qa-include/vendor/PHPMailer/class.phpmailer.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ class PHPMailer
3131
* The PHPMailer Version number.
3232
* @var string
3333
*/
34-
public $Version = '5.2.25';
34+
public $Version = '5.2.26';
3535

3636
/**
3737
* Email priority.
@@ -659,6 +659,8 @@ public function __construct($exceptions = null)
659659
if ($exceptions !== null) {
660660
$this->exceptions = (boolean)$exceptions;
661661
}
662+
//Pick an appropriate debug output format automatically
663+
$this->Debugoutput = (strpos(PHP_SAPI, 'cli') !== false ? 'echo' : 'html');
662664
}
663665

664666
/**

qa-include/vendor/PHPMailer/class.smtp.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ class SMTP
3030
* The PHPMailer SMTP version number.
3131
* @var string
3232
*/
33-
const VERSION = '5.2.25';
33+
const VERSION = '5.2.26';
3434

3535
/**
3636
* SMTP line break constant.
@@ -81,7 +81,7 @@ class SMTP
8181
* @deprecated Use the `VERSION` constant instead
8282
* @see SMTP::VERSION
8383
*/
84-
public $Version = '5.2.25';
84+
public $Version = '5.2.26';
8585

8686
/**
8787
* SMTP server port number.

0 commit comments

Comments
 (0)