|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
[2010-05-06 01:31 UTC] asandberg at sugarcrm dot com
Description:
------------
When testing against the SmarterMail server, the imap_fetchstructure function returns 0 for ifdisposition although when connecting to the same server using pop3 returns true. The result should be true for the IMAP connection. C-client compiled against was 2007e. Also, the filename attribute should be present within the dparameters array, not in the parameter array. This bug is identical to one previously fixed (17135). Please let me know if you need any additional information.
Test script:
---------------
Test Script:
$conn=imap_open("{localhost:143/imap}INBOX",name, pass);
imap_fetchstructure($conn,$msgNumb);
$conn=imap_open("{localhost:110/pop3}INBOX",name, pass);
imap_fetchstructure($conn,$msgNumb);
Results
[IMAP]
[1] => stdClass Object
(
[type] => 3
[encoding] => 3
[ifsubtype] => 1
[subtype] => OCTET-STREAM
[ifdescription] => 0
[ifid] => 0
[bytes] => 298
[ifdisposition] => 0
[ifdparameters] => 0
[ifparameters] => 1
[parameters] => Array
(
[0] => stdClass Object
(
[attribute] => name
[value] => sqlprov.log
)
[1] => stdClass Object
(
[attribute] => filename
[value] => sqlprov.log
)
)
)
[POP3]
[1] => stdClass Object
(
[type] => 3
[encoding] => 3
[ifsubtype] => 1
[subtype] => OCTET-STREAM
[ifdescription] => 0
[ifid] => 0
[bytes] => 298
[ifdisposition] => 1
[disposition] => ATTACHMENT
[ifdparameters] => 1
[dparameters] => Array
(
[0] => stdClass Object
(
[attribute] => FILENAME
[value] => sqlprov.log
)
)
[ifparameters] => 1
[parameters] => Array
(
[0] => stdClass Object
(
[attribute] => NAME
[value] => sqlprov.log
)
)
)
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sat Oct 25 12:00:01 2025 UTC |
Hi Mike, I actually setup a vm image with windows and had the server running locally. I do have a hosting account but only running ubuntu so I can't install the mail server. Can I send you a vm image that the server is running on? I can upload it to a public ftp site for you although it will be rather large. Thanks, Andreas