Changeset 2714 in subversion
- Timestamp:
- Jul 6, 2009 1:44:35 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/roundcubemail/program/include/rcube_message.php
r2401 r2714 342 342 else if (($primary_type == 'text' && ($secondary_type == 'plain' || $secondary_type == 'html') && $mail_part->disposition != 'attachment') || 343 343 ($primary_type == 'message' && ($secondary_type == 'delivery-status' || $secondary_type == 'disposition-notification'))) { 344 344 345 345 // add text part if we're not in alternative mode or if it matches the prefs 346 346 if (!$this->parse_alternative || … … 367 367 continue; 368 368 369 // part is Microsoft outlook TNEF (winmail.dat)369 // part is Microsoft Outlook TNEF (winmail.dat) 370 370 else if ($primary_type == 'application' && $secondary_type == 'ms-tnef') { 371 371 foreach ((array)$this->imap->tnef_decode($mail_part, $structure->headers['uid']) as $tnef_part) { … … 375 375 } 376 376 377 // part is file/attachment378 else if ( $mail_part->disposition == 'attachment' || $mail_part->disposition == 'inline'||377 // part is a file/attachment 378 else if (preg_match('/^(inline|attach)/', $mail_part->disposition) || 379 379 $mail_part->headers['content-id'] || (empty($mail_part->disposition) && $mail_part->filename)) { 380 380 381 // skip apple resource forks 381 382 if ($message_ctype_secondary == 'appledouble' && $secondary_type == 'applefile') … … 393 394 } 394 395 } 395 // is regular attachment396 // is a regular attachment 396 397 else { 397 398 if (!$mail_part->filename)
Note: See TracChangeset
for help on using the changeset viewer.
