Changeset 1883
- Timestamp:
- 12/22/09 13:52:20 (14 years ago)
- Location:
- branches/2.0/expressoMail1_2/inc
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2.0/expressoMail1_2/inc/class.imap_functions.inc.php
r1828 r1883 793 793 $content .= "<tr><td><b>".$this->functions->getLang("TO").":</b></td><td>".$this->decode_string($obj->to[0]->mailbox."@".$obj->to[0]->host)."</td></tr>"; 794 794 $content .= !$obj->cc ? "</table><br>" :"<tr><td><b>".$this->functions->getLang("CC").":</b></td><td>".$this->decode_string($obj->cc[0]->mailbox."@".$obj->cc[0]->host)."</td></tr></table><br>"; 795 $ix_part = strtolower($attachment['type']) == "delivery-status" ? 1 : 0; 796 $content .= nl2br($this->decodeBody(imap_fetchbody($this->mbox, $msg_number, ($attachment['part_in_msg']+$ix_part).".1", FT_UID), $msg->encoding[$msg_number][$values], $msg->charset[$msg_number][$values])); 795 $content .= $this->decodeBody( 796 imap_fetchbody( 797 $this->mbox, 798 $msg_number, 799 ( $attachment['part_in_msg'] + ( 800 ( strtolower( $attachment[ 'type' ] ) == 'delivery-status' ) ? 0 : 1 ) 801 ) . ".1", 802 FT_UID 803 ), 804 $msg->encoding[ $msg_number ][ $values ], 805 $msg->charset[ $msg_number ][ $values ] 806 ); 797 807 break; 798 808 } -
branches/2.0/expressoMail1_2/inc/class.message_components.inc.php
r1059 r1883 112 112 $skip_next = ($ftype == 'message/rfc822')? true : false; 113 113 114 if ($ftype == 'multipart/mixed' || $skip_part == true && $ftype == 'multipart/alternative') 115 // Por niltonneto: Mensagens do ThunderBird com format=flowed nao abrem, por isso comentado essa condicao: 116 // || $ftype == 'multipart/related') 114 if ($ftype == 'multipart/mixed' || $skip_part == true && $ftype == 'multipart/alternative' || $ftype == 'multipart/related') 117 115 { 118 116 $n--;
Note: See TracChangeset
for help on using the changeset viewer.