Changeset f1bed74 in github for program/steps/mail/func.inc


Ignore:
Timestamp:
Apr 26, 2006 5:31:53 PM (7 years ago)
Author:
svncommit <devs@…>
Branches:
master, HEAD, courier-fix, dev-browser-capabilities, pdo, release-0.6, release-0.7, release-0.8
Children:
f8d0a5c
Parents:
cbd62d9
Message:

Corrected issue displaying attachments that use content-description rather than filename or name disposition headers

File:
1 edited

Legend:

Unmodified
Added
Removed
  • program/steps/mail/func.inc

    r2e2fe04 rf1bed74  
    918918                                   'content'  => $mail_part->body */); 
    919919                                    
    920                                     
     920        else if ($mail_part->headers['content-description']) 
     921          $a_attachments[] = array('filename' => rcube_imap::decode_mime_string($mail_part->headers['content-description']), 
     922                                   'encoding' => strtolower($mail_part->headers['content-transfer-encoding']), 
     923                                   'mimetype' => strtolower("$primary_type/$secondary_type"), 
     924                                   'part_id'  => $mail_part->mime_id, 
     925                                   'size'     => strlen($IMAP->mime_decode($mail_part->body, $mail_part->headers['content-transfer-encoding'])) /*, 
     926                                   'content'  => $mail_part->body */); 
    921927        } 
    922928      } 
Note: See TracChangeset for help on using the changeset viewer.