Skip to content

Commit

Permalink
Tweak MIME preamble
Browse files Browse the repository at this point in the history
Test output cleanup
  • Loading branch information
Synchro committed Mar 20, 2015
1 parent b02b573 commit c39b89f
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions changelog.md
Expand Up @@ -23,6 +23,7 @@
* Fix incorrect MIME structure when using S/MIME signing and isMail() (#372)
* Improved checks and error messages for missing extensions
* Store and report SMTP errors more consistently
* Add MIME multipart preamble for better Outlook compatibility

## Version 5.2.9 (Sept 25th 2014)
* **Important: The autoloader is no longer autoloaded by the PHPMailer class**
Expand Down
2 changes: 1 addition & 1 deletion class.phpmailer.php
Expand Up @@ -1874,7 +1874,7 @@ public function createBody()
$altBodyCharSet = 'us-ascii';
}
//Use this as a preamble in all multipart message types
$mimepre = "This is a multi-part message in MIME format.".$this->LE;
$mimepre = "This is a multi-part message in MIME format." . $this->LE . $this->LE;
switch ($this->message_type) {
case 'inline':
$body .= $mimepre;
Expand Down
2 changes: 1 addition & 1 deletion test/phpmailerTest.php
Expand Up @@ -154,7 +154,7 @@ public function buildBody()
} else {
$eol = "\r\n";
$bullet_start = ' - ';
$bullet_end = '';
$bullet_end = "\r\n";
$list_start = '';
$list_end = '';
}
Expand Down

0 comments on commit c39b89f

Please sign in to comment.