Skip to content

Commit

Permalink
Ensure Content-ID is set for attachments
Browse files Browse the repository at this point in the history
Allows `<img src="cid:foobar"/>` in HTML messages to work.
  • Loading branch information
DavidOliver committed Jan 22, 2014
1 parent 1921356 commit 3cfadeb
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Lib/Network/Email/PostmarkTransport.php
Expand Up @@ -159,6 +159,7 @@ private function __buildAttachments() {
$attachments[$i]['Name'] = $fileName;
$attachments[$i]['Content'] = $data;
$attachments[$i]['ContentType'] = $fileInfo['mimetype'];
$attachments[$i]['ContentId'] = $fileInfo['contentId'];

$i++;
}
Expand Down

0 comments on commit 3cfadeb

Please sign in to comment.