Changeset 0a99895 in github


Ignore:
Timestamp:
Jun 5, 2008 6:33:29 AM (5 years ago)
Author:
thomascube <thomas@…>
Branches:
master, HEAD, courier-fix, dev-browser-capabilities, pdo, release-0.6, release-0.7, release-0.8
Children:
ece3aed
Parents:
70aa900
Message:

Fix fallback if no message strucutre is provided by the imap server

Location:
program
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • program/include/rcube_imap.php

    r70aa900 r0a99895  
    12491249  function &get_body($uid, $part=1) 
    12501250    { 
    1251     return $this->get_message_part($uid, $part); 
     1251    $headers = $this->get_headers($uid); 
     1252    return rcube_charset_convert( 
     1253      $this->mime_decode($this->get_message_part($uid, $part), 'quoted-printable'), 
     1254      $headers->charset ? $headers->charset : $this->default_charset); 
    12521255    } 
    12531256 
  • program/steps/mail/func.inc

    r21605c4 r0a99895  
    729729    } 
    730730  else 
    731     $out .= $MESSAGE->body; 
     731    $out .= html::div('message-part', html::div('pre', $MESSAGE->body)); 
    732732 
    733733 
Note: See TracChangeset for help on using the changeset viewer.