Skip to content

Commit 9b8d4c0

Browse files
author
Eoghan O'Brien
committed
Prepare for 1.7.1 release
1 parent 4157250 commit 9b8d4c0

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

class.simple_mail.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
* @author Eoghan O'Brien <eoghan@eoghanobrien.com>
1616
* @copyright 2009 - 2017 Eoghan O'Brien
1717
* @license http://github.com/eoghanobrien/php-simple-mail/LICENCE.txt MIT
18-
* @version 1.7
18+
* @version 1.7.1
1919
* @link http://github.com/eoghanobrien/php-simple-mail
2020
*/
2121

@@ -27,7 +27,7 @@
2727
* @author Eoghan O'Brien <eoghan@eoghanobrien.com>
2828
* @copyright 2009 - 2017 Eoghan O'Brien
2929
* @license http://github.com/eoghanobrien/php-simple-mail/LICENCE.txt MIT
30-
* @version 1.7
30+
* @version 1.7.1
3131
* @link http://github.com/eoghanobrien/php-simple-mail
3232
*/
3333
class SimpleMail

tests/class.simple_mail.test.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -528,12 +528,12 @@ public function it_filters_angle_brackets_from_emails()
528528
/**
529529
* @test
530530
*/
531-
public function it_qp_encodes_attachment_message_bodies()
531+
public function it_quoted_printable_encodes_attachment_message_bodies()
532532
{
533533
$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.";
534534

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

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

0 commit comments

Comments
 (0)