Skip to content

Commit

Permalink
RELEASE 1.1.7.
Browse files Browse the repository at this point in the history
  • Loading branch information
ivantcholakov committed May 5, 2015
1 parent 3299e60 commit 3a47cbe
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 6 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
A CodeIgniter compatible email-library powered by PHPMailer
===========================================================

Version: 1.1.6
Version: 1.1.7
Author: Ivan Tcholakov <[email protected]>, 2012-2015.
License: The MIT License (MIT), http://opensource.org/licenses/MIT

This library is intended to be compatible with CI 2.x and CI 3.x.

Tested on CodeIgniter 3.0.0+ (May 4, 2015) and with PHPMailer Version 5.2.10 (May 4, 2015).
Tested on CodeIgniter 3.0.0+ (May 4, 2015) and with PHPMailer Version 5.2.10+ (May 5, 2015).

Installation
------------
Expand Down
4 changes: 2 additions & 2 deletions libraries/MY_Email.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,15 @@

/**
* CodeIgniter compatible email-library powered by PHPMailer.
* Version: 1.1.6
* Version: 1.1.7
* @author Ivan Tcholakov <[email protected]>, 2012-2015.
* @license The MIT License (MIT), http://opensource.org/licenses/MIT
* @link https://github.com/ivantcholakov/codeigniter-phpmailer
*
* This library is intended to be compatible with CI 2.x and CI 3.x.
*
* Tested on production sites with CodeIgniter 3.0.0+ (May 4, 2015) and
* PHPMailer Version 5.2.10 (May 4, 2015).
* PHPMailer Version 5.2.10+ (May 5, 2015).
*/

class MY_Email extends CI_Email {
Expand Down
2 changes: 2 additions & 0 deletions third_party/phpmailer/changelog.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# ChangeLog

* Don't switch to quoted-printable for long lines if already using base64

## Version 5.2.10 (May 4th 2015)
* Add custom header getter
* Use `application/javascript` for .js attachments
Expand Down
5 changes: 3 additions & 2 deletions third_party/phpmailer/class.phpmailer.php
Original file line number Diff line number Diff line change
Expand Up @@ -1897,8 +1897,9 @@ public function createBody()
$bodyEncoding = '7bit';
$bodyCharSet = 'us-ascii';
}
//If lines are too long, change to quoted-printable transfer encoding
if (self::hasLineLongerThanMax($this->Body)) {
//If lines are too long, and we're not already using an encoding that will shorten them,
//change to quoted-printable transfer encoding
if ('base64' != $this->Encoding and self::hasLineLongerThanMax($this->Body)) {
$this->Encoding = 'quoted-printable';
$bodyEncoding = 'quoted-printable';
}
Expand Down

0 comments on commit 3a47cbe

Please sign in to comment.