Skip to content

Commit

Permalink
Merge pull request #4 from hillelcoren/master
Browse files Browse the repository at this point in the history
Fix HTML email when using attachments
  • Loading branch information
Andrew Theken committed Apr 18, 2016
2 parents c6f1ef5 + 59c6106 commit 4032d33
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Postmark/Transport.php
Original file line number Diff line number Diff line change
Expand Up @@ -161,6 +161,7 @@ private function processMessageParts(&$payload, $message) {
switch ($message->getContentType()) {
case 'text/html':
case 'multipart/alternative':
case 'multipart/mixed':
$payload['HtmlBody'] = $message->getBody();
break;
default:
Expand Down

0 comments on commit 4032d33

Please sign in to comment.