Skip to content

Commit

Permalink
Bump version to 5.2.5
Browse files Browse the repository at this point in the history
Remove '-oi' options from mail command: unnecessary, breaks qmail
  • Loading branch information
Synchro committed Apr 7, 2013
1 parent a281430 commit fb6e90a
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions class.phpmailer.php
Original file line number Diff line number Diff line change
Expand Up @@ -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 |
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -935,9 +935,9 @@ protected function MailSend($header, $body) {
$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');
Expand Down

0 comments on commit fb6e90a

Please sign in to comment.