<?xml version="1.0"?>
<?xml-stylesheet
href="http://www.w3.org/2000/08/w3c-synd/style.css" type="text/css"
?>
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns="http://purl.org/rss/1.0/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:sy="http://purl.org/rss/1.0/modules/syndication/" xmlns:admin="http://webns.net/mvcb/" xmlns:content="http://purl.org/rss/1.0/modules/content/">
    <channel rdf:about="http://pear.php.net/bugs/search.php">
    <title>PEAR Bug Search Results</title>
    <link>http://pear.php.net/bugs/search.php?cmd=display&amp;package_name%5B0%5D=Mail_IMAPv2</link>
    <description>Search Results</description>
    <dc:language>en-us</dc:language>
    <dc:creator>pear-webmaster@lists.php.net</dc:creator>
    <dc:publisher>pear-webmaster@lists.php.net</dc:publisher>
    <admin:generatorAgent rdf:resource="http://pear.php.net/bugs"/>
    <sy:updatePeriod>hourly</sy:updatePeriod>
    <sy:updateFrequency>1</sy:updateFrequency>
    <sy:updateBase>2000-01-01T12:00+00:00</sy:updateBase>
    <items>
     <rdf:Seq>
      <rdf:li rdf:resource="http://pear.php.net/bug/19445" />
      <rdf:li rdf:resource="http://pear.php.net/bug/8328" />
      <rdf:li rdf:resource="http://pear.php.net/bug/7284" />
      <rdf:li rdf:resource="http://pear.php.net/bug/4551" />

     </rdf:Seq>
    </items>
  </channel>

  <image rdf:about="http://pear.php.net/gifs/pearsmall.gif">
    <title>PEAR Bugs</title>
    <url>http://pear.php.net/gifs/pearsmall.gif</url>
    <link>http://pear.php.net/bugs</link>
  </image>

    <item rdf:about="http://pear.php.net/bug/19445">
      <title>Mail_IMAPv2: Bug 19445 [Open] Message body is empty with file attached</title>
      <link>http://pear.php.net/bugs/19445</link>
      <content:encoded><![CDATA[<pre>Mail_IMAPv2 Bug
Reported by cliaustin
2012-05-31T01:06:13+00:00
PHP: 5.2.9 OS: WindowsXP Package Version: 0.2.1

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-&gt;_scanMultipart($mid, $pid, $i, $get_mime, 'get', 'multipart', 1);
by the following workaround:
($pid=='1' ? $this-&gt;_scanMultipart($mid, $pid, $i, $get_mime, 'get', 'all', 1) : $this-&gt;_scanMultipart($mid, $pid, $i, $get_mime, 'get', 'multipart', 1));</pre>]]></content:encoded>
      <description><![CDATA[<pre>Mail_IMAPv2 Bug
Reported by cliaustin
2012-05-31T01:06:13+00:00
PHP: 5.2.9 OS: WindowsXP Package Version: 0.2.1

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-&gt;_scanMultipart($mid, $pid, $i, $get_mime, 'get', 'multipart', 1);
by the following workaround:
($pid=='1' ? $this-&gt;_scanMultipart($mid, $pid, $i, $get_mime, 'get', 'all', 1) : $this-&gt;_scanMultipart($mid, $pid, $i, $get_mime, 'get', 'multipart', 1));</pre>]]></description>
      <dc:date>2012-05-31T01:06:13+00:00</dc:date>
      <dc:creator>chunlin_li &amp;#x61;&amp;#116; yahoo &amp;#x64;&amp;#111;&amp;#x74; com</dc:creator>
      <dc:subject>Mail_IMAPv2 Bug</dc:subject>
    </item>
    <item rdf:about="http://pear.php.net/bug/8328">
      <title>Mail_IMAPv2: Bug 8328 [Open] Inline Parts show no Filename</title>
      <link>http://pear.php.net/bugs/8328</link>
      <content:encoded><![CDATA[<pre>Mail_IMAPv2 Bug
Reported by bj.blackowitz@...
2006-07-31T12:10:31+00:00
PHP: 4.4.2 OS: Windows 2000 Package Version: 0.2.0

Description:
------------
When attaching files to a RICHTEXT message, the code sees these as Inline attachements and looses the filenames

when looking manualy at the messages I see the file names and attachemnttypes correct 
messages created by Outlook 2003 and 2000

Content-class: urn:content-classes:message
Subject: Some kind of test
MIME-Version: 1.0
Content-Type: application/octet-stream;
        name=&quot;PocketController.log&quot;
Content-Transfer-Encoding: base64
Content-Description: PocketController.log
Content-Disposition: attachment;
        filename=&quot;PocketController.log&quot;
Date: Mon, 31 Jul 2006 11:02:58 +0200
X-MimeOLE: Produced By Microsoft Exchange V6.5.6944.0

whene attaching to HTML messages , the parts are being seen correct.



Test script:
---------------
e.g /IMAP.message_viewer.php</pre>]]></content:encoded>
      <description><![CDATA[<pre>Mail_IMAPv2 Bug
Reported by bj.blackowitz@...
2006-07-31T12:10:31+00:00
PHP: 4.4.2 OS: Windows 2000 Package Version: 0.2.0

Description:
------------
When attaching files to a RICHTEXT message, the code sees these as Inline attachements and looses the filenames

when looking manualy at the messages I see the file names and attachemnttypes correct 
messages created by Outlook 2003 and 2000

Content-class: urn:content-classes:message
Subject: Some kind of test
MIME-Version: 1.0
Content-Type: application/octet-stream;
        name=&quot;PocketController.log&quot;
Content-Transfer-Encoding: base64
Content-Description: PocketController.log
Content-Disposition: attachment;
        filename=&quot;PocketController.log&quot;
Date: Mon, 31 Jul 2006 11:02:58 +0200
X-MimeOLE: Produced By Microsoft Exchange V6.5.6944.0

whene attaching to HTML messages , the parts are being seen correct.



Test script:
---------------
e.g /IMAP.message_viewer.php</pre>]]></description>
      <dc:date>2006-07-31T12:10:31+00:00</dc:date>
      <dc:creator>bj &amp;#x64;&amp;#111;&amp;#x74; blackowitz &amp;#x61;&amp;#116; gmx &amp;#x64;&amp;#111;&amp;#x74; net</dc:creator>
      <dc:subject>Mail_IMAPv2 Bug</dc:subject>
    </item>
    <item rdf:about="http://pear.php.net/bug/7284">
      <title>Mail_IMAPv2: Feature/Change Request 7284 [Open] Mailbox path in manageMB()</title>
      <link>http://pear.php.net/bugs/7284</link>
      <content:encoded><![CDATA[<pre>Mail_IMAPv2 Feature/Change Request
Reported by t.bruederli@...
2006-04-03T14:56:31+00:00
PHP: 4.3.10 OS:  Package Version: 0.2.0

Description:
------------
Mailbox names passed to Mail_IMAPv2_ManageMB::manageMB() are always translated to INBOX.{mailboxname}. This is not correct since there are IMAP servers that don't use these naming conventions. Mailbox names shouldn't be extended with the &quot;INBOX.&quot;-prefix. This isn't done in manageMail() either.</pre>]]></content:encoded>
      <description><![CDATA[<pre>Mail_IMAPv2 Feature/Change Request
Reported by t.bruederli@...
2006-04-03T14:56:31+00:00
PHP: 4.3.10 OS:  Package Version: 0.2.0

Description:
------------
Mailbox names passed to Mail_IMAPv2_ManageMB::manageMB() are always translated to INBOX.{mailboxname}. This is not correct since there are IMAP servers that don't use these naming conventions. Mailbox names shouldn't be extended with the &quot;INBOX.&quot;-prefix. This isn't done in manageMail() either.</pre>]]></description>
      <dc:date>2006-04-03T14:56:31+00:00</dc:date>
      <dc:creator>t &amp;#x64;&amp;#111;&amp;#x74; bruederli &amp;#x61;&amp;#116; nexbyte &amp;#x64;&amp;#111;&amp;#x74; com</dc:creator>
      <dc:subject>Mail_IMAPv2 Feature/Change Request</dc:subject>
    </item>
    <item rdf:about="http://pear.php.net/bug/4551">
      <title>Mail_IMAPv2: Bug 4551 [Open] message parsing fails with complex multipart/alternative structure</title>
      <link>http://pear.php.net/bugs/4551</link>
      <content:encoded><![CDATA[<pre>Mail_IMAPv2 Bug
Reported by david@...
2005-06-08T14:27:24+00:00
PHP: 4.3.9 OS: Fedora Core2 / RHES 3 Package Version: 

Description:
------------
Im in the process of building a mail engine, I wanted to test out the setup with various potential 'problematic' emails that have proven to be ...interesting... to deal with in previous versions, mostly Outlook/Word created HTML emails, and multipart alternative (HTML and plain format) in Thunderbird.

IMAPv2 was able to diaplay most of the difficult mails until the multipart alternative test from Thunderbird which resulted in the attached text/plain (at not il) part being displayed as the main body and no other parts being displayed at all.

I am about to send a copy of this email to mail-imap (at) smilingsouls (dot) net and demo (at) smilingsouls (dot) net to give you a copy to look at.

The output from dumping $msg shows that no parts are being detected (as opposed to the non-multipart ones). message 5 was the culprit whereas message worked perfectly :)

hope this wasnt too long, and thanks for a great mail handler


Reproduce code:
---------------
[msg] =&gt; Array
        (
            [3] =&gt; Array
                (
                    [pid] =&gt; 1.2
                    [at] =&gt; Array
                        (
                            [fname] =&gt; Array
                                (
                                    [0] =&gt; mysql stuff
                                    [1] =&gt; ca header2.gif
                                )

                            [pid] =&gt; Array
                                (
                                    [0] =&gt; 2
                                    [1] =&gt; 3
                                )

                            [ftype] =&gt; Array
                                (
                                    [0] =&gt; text/plain
                                    [1] =&gt; image/gif
                                )

                            [fsize] =&gt; Array
                                (
                                    [0] =&gt; 270
                                    [1] =&gt; 8832
                                )

                            [charset] =&gt; Array
                                (
                                    [0] =&gt; us-ascii
                                )

                        )

                )

            [5] =&gt; Array
                (
                    [pid] =&gt; 2
                )

         
        )

Expected result:
----------------
message parts to be listed in the array

Actual result:
--------------
single message part listed which proved to be the first non-alternative part, the attached text/plain file</pre>]]></content:encoded>
      <description><![CDATA[<pre>Mail_IMAPv2 Bug
Reported by david@...
2005-06-08T14:27:24+00:00
PHP: 4.3.9 OS: Fedora Core2 / RHES 3 Package Version: 

Description:
------------
Im in the process of building a mail engine, I wanted to test out the setup with various potential 'problematic' emails that have proven to be ...interesting... to deal with in previous versions, mostly Outlook/Word created HTML emails, and multipart alternative (HTML and plain format) in Thunderbird.

IMAPv2 was able to diaplay most of the difficult mails until the multipart alternative test from Thunderbird which resulted in the attached text/plain (at not il) part being displayed as the main body and no other parts being displayed at all.

I am about to send a copy of this email to mail-imap (at) smilingsouls (dot) net and demo (at) smilingsouls (dot) net to give you a copy to look at.

The output from dumping $msg shows that no parts are being detected (as opposed to the non-multipart ones). message 5 was the culprit whereas message worked perfectly :)

hope this wasnt too long, and thanks for a great mail handler


Reproduce code:
---------------
[msg] =&gt; Array
        (
            [3] =&gt; Array
                (
                    [pid] =&gt; 1.2
                    [at] =&gt; Array
                        (
                            [fname] =&gt; Array
                                (
                                    [0] =&gt; mysql stuff
                                    [1] =&gt; ca header2.gif
                                )

                            [pid] =&gt; Array
                                (
                                    [0] =&gt; 2
                                    [1] =&gt; 3
                                )

                            [ftype] =&gt; Array
                                (
                                    [0] =&gt; text/plain
                                    [1] =&gt; image/gif
                                )

                            [fsize] =&gt; Array
                                (
                                    [0] =&gt; 270
                                    [1] =&gt; 8832
                                )

                            [charset] =&gt; Array
                                (
                                    [0] =&gt; us-ascii
                                )

                        )

                )

            [5] =&gt; Array
                (
                    [pid] =&gt; 2
                )

         
        )

Expected result:
----------------
message parts to be listed in the array

Actual result:
--------------
single message part listed which proved to be the first non-alternative part, the attached text/plain file</pre>]]></description>
      <dc:date>2005-06-10T04:07:49+00:00</dc:date>
      <dc:creator>david &amp;#x61;&amp;#116; chipaddiction &amp;#x64;&amp;#111;&amp;#x74; com</dc:creator>
      <dc:subject>Mail_IMAPv2 Bug</dc:subject>
    </item>
</rdf:RDF>
