Skip to content

Commit d81a898

Browse files
committed
fix: change method to set attachment headers
1 parent 8f48b22 commit d81a898

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Transport/NewsletterTransport.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ protected function buildAttachmentModels(Email $message): array
9595
{
9696
return collect($message->getAttachments())
9797
->filter(function (DataPart $child) {
98-
return $child->getHeaders()->get('content-disposition') !== null;
98+
return $child->getPreparedHeaders()->get('Content-Disposition') !== null;
9999
})
100100
->map(function (DataPart $attachment) {
101101
return (new AttachmentModel())

0 commit comments

Comments
 (0)