Skip to content

Commit

Permalink
add attachment disposition to attachment object
Browse files Browse the repository at this point in the history
  • Loading branch information
Steffen Schiffel committed Nov 1, 2015
1 parent 80c3561 commit a9431bf
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/PhpImap/Mailbox.php
Original file line number Diff line number Diff line change
Expand Up @@ -513,6 +513,7 @@ protected function initMailPart(IncomingMail $mail, $partStructure, $partNum, $m
$attachment = new IncomingMailAttachment();
$attachment->id = $attachmentId;
$attachment->name = $fileName;
$attachment->disposition = $partStructure->disposition;
if($this->attachmentsDir) {
$replace = array(
'/\s/' => '_',
Expand Down

0 comments on commit a9431bf

Please sign in to comment.