Bump version to 5.2.5

Remove '-oi' options from mail command: unnecessary, breaks qmail
This commit is contained in:
Synchro 2013-04-07 21:09:11 +02:00
parent a28143065d
commit fb6e90a865
1 changed files with 4 additions and 4 deletions

View File

@ -2,7 +2,7 @@
/*~ class.phpmailer.php
.---------------------------------------------------------------------------.
| Software: PHPMailer - PHP email class |
| Version: 5.2.4 |
| Version: 5.2.5 |
| Site: https://github.com/Synchro/PHPMailer/ |
| ------------------------------------------------------------------------- |
| Admins: Marcus Bointon |
@ -397,7 +397,7 @@ class PHPMailer {
* Sets the PHPMailer Version number
* @var string
*/
public $Version = '5.2.4';
public $Version = '5.2.5';
/**
* What to use in the X-Mailer header
@ -935,9 +935,9 @@ class PHPMailer {
$to = implode(', ', $toArr);
if (empty($this->Sender)) {
$params = "-oi ";
$params = " ";
} else {
$params = sprintf("-oi -f%s", $this->Sender);
$params = sprintf("-f%s", $this->Sender);
}
if ($this->Sender != '' and !ini_get('safe_mode')) {
$old_from = ini_get('sendmail_from');