|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
[2002-05-10 03:38 UTC] kanelbulle at gmx dot net
Problem: after fetcing structure and checking for dispositions with "ifdisposition", pop3 returns TRUE when there is an disposition, but IMAP don't.
first i connect:
$mbox=imap_open("{localhost/pop3}INBOX",name, pass);
Fetcing structure for message 1:
$structure = imap_fetchstructure($mbox, 1);
Then checking for dispotition:
(i have a prase function thats loop trought all parts)
$structure->ifdisposition
if i connect with
localhost/pop3
it returns TRUE when there is an disposition.
but always false if i connect with:
localhost/imap or localhost or localhost:143 and so on..
Is this a bug?
phpinfo:
http://www.fjun.com/phpinfo.php
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
|
|||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Tue Dec 23 19:00:01 2025 UTC |
For mor friendly reading: With pop: [1] => stdClass Object ( [type] => 3 [encoding] => 3 [ifsubtype] => 1 [subtype] => X-ZIP-COMPRESSED [ifdescription] => 0 [ifid] => 0 [bytes] => 26780 [ifdisposition] => 1 [disposition] => ATTACHMENT [ifdparameters] => 1 [dparameters] => Array ( [0] => stdClass Object ( [attribute] => FILENAME [value] => GPLFIX.ZIP ) ) [ifparameters] => 1 [parameters] => Array ( [0] => stdClass Object ( [attribute] => NAME [value] => GPLFIX.ZIP ) ) ) With IMAP: [1] => stdClass Object ( [type] => 3 [encoding] => 3 [ifsubtype] => 1 [subtype] => X-ZIP-COMPRESSED [ifdescription] => 0 [ifid] => 0 [bytes] => 26782 [ifdisposition] => 0 [ifdparameters] => 0 [ifparameters] => 1 [parameters] => Array ( [0] => stdClass Object ( [attribute] => name [value] => GPLFIX.ZIP ) ) )