Package home | Report new bug | New search | Development Roadmap Status: Open | Feedback | All | Closed Since Version 0.2.1

Bug #19445 Message body is empty with file attached
Submitted: 2012-05-31 01:06 UTC
From: cliaustin Assigned:
Status: Open Package: Mail_IMAPv2 (version 0.2.1)
PHP Version: 5.2.9 OS: WindowsXP
Roadmaps: (Not assigned)    
Subscription  
Comments Add Comment Add patch


Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know! Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem : 47 + 35 = ?

 
 [2012-05-31 01:06 UTC] cliaustin (Chunlin Li)
Description: ------------ Retrieve message body (getBody) from an email with file attachment. Got blank message body even with text in the body. The same email without attachment will display message body properly. Test script: --------------- We have used the following workaround temporarily, but would like to have a better fix from you. Here is the temporary fix: at line 1108, replace current code: $this->_scanMultipart($mid, $pid, $i, $get_mime, 'get', 'multipart', 1); by the following workaround: ($pid=='1' ? $this->_scanMultipart($mid, $pid, $i, $get_mime, 'get', 'all', 1) : $this->_scanMultipart($mid, $pid, $i, $get_mime, 'get', 'multipart', 1));

Comments