We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 6f8a6e4 + ac85429 commit 6afea8bCopy full SHA for 6afea8b
src/IMAP/Message.php
@@ -413,6 +413,7 @@ protected function fetchAttachment($structure, $partNumber){
413
foreach ($structure->dparameters as $parameter) {
414
if (strtolower($parameter->attribute) == "filename") {
415
$attachment->name = $parameter->value;
416
+ $attachment->disposition = $structure->disposition;
417
break;
418
}
419
@@ -422,6 +423,7 @@ protected function fetchAttachment($structure, $partNumber){
422
423
foreach ($structure->parameters as $parameter) {
424
if (strtolower($parameter->attribute) == "name") {
425
426
427
428
429
0 commit comments