Skip to content

Commit

Permalink
Prepare for 1.7.1 release
Browse files Browse the repository at this point in the history
  • Loading branch information
Eoghan O'Brien committed Mar 16, 2018
1 parent 4157250 commit 9b8d4c0
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions class.simple_mail.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
* @author Eoghan O'Brien <[email protected]>
* @copyright 2009 - 2017 Eoghan O'Brien
* @license http://github.com/eoghanobrien/php-simple-mail/LICENCE.txt MIT
* @version 1.7
* @version 1.7.1
* @link http://github.com/eoghanobrien/php-simple-mail
*/

Expand All @@ -27,7 +27,7 @@
* @author Eoghan O'Brien <[email protected]>
* @copyright 2009 - 2017 Eoghan O'Brien
* @license http://github.com/eoghanobrien/php-simple-mail/LICENCE.txt MIT
* @version 1.7
* @version 1.7.1
* @link http://github.com/eoghanobrien/php-simple-mail
*/
class SimpleMail
Expand Down
4 changes: 2 additions & 2 deletions tests/class.simple_mail.test.php
Original file line number Diff line number Diff line change
Expand Up @@ -528,12 +528,12 @@ public function it_filters_angle_brackets_from_emails()
/**
* @test
*/
public function it_qp_encodes_attachment_message_bodies()
public function it_quoted_printable_encodes_attachment_message_bodies()
{
$message = "J'interdis aux marchands de vanter trop leur marchandises. Car ils se font vite pédagogues et t'enseignent comme but ce qui n'est par essence qu'un moyen, et te trompant ainsi sur la route à suivre les voilà bientôt qui te dégradent, car si leur musique est vulgaire ils te fabriquent pour te la vendre une âme vulgaire.";

$this->mailer->setMessage($message)
->addAttachment($this->directory.'/example/pbXBsZSwgY2hh.jpg', 'lolcat_finally_arrived.jpg');
->addAttachment($this->directory . '/example/pbXBsZSwgY2hh.jpg', 'lolcat_finally_arrived.jpg');

$body = $this->mailer->assembleAttachmentBody();
$this->assertRegExp('/^Content-Transfer-Encoding: quoted-printable$/m', $body);
Expand Down

0 comments on commit 9b8d4c0

Please sign in to comment.