From:             mail at nikha dot org
Operating system: Linux
PHP version:      Irrelevant
Package:          IMAP related
Bug Type:         Feature/Change Request
Bug description:Add a content-type obejct to imap_fetch_overview()

Description:
------------
---
>From manual page: http://www.php.net/function.imap-fetch-overview
---
this function should also return an object reflecting the values in the
header 
line "Content-Type:". This is as necessary for mailbox overviews as the
other 
lines, the function reflects: Overviews should show, whether mails have 
attachments or not!

Test script:
---------------
no special code for this! 

My script first calls this function. But the missing content-type object
forces me later to re-fetch the header of every mail to parse the
"Content-Type:". This works, but is a considerable overhead, that could be
avoided, if it's provided by the single call of this function.

(And is really stupid, because the function must parse the mail headers
anyway, why not this line too?)

Expected result:
----------------
An additional object returned by this function, named "type" or whatever
you 
like, with at minmum two values: "text" or "multipart". (May also provide 
subtypes like "plain", "mixed" etc, but this is less important)


-- 
Edit bug report at https://bugs.php.net/bug.php?id=65760&edit=1
-- 
Try a snapshot (PHP 5.4):   
https://bugs.php.net/fix.php?id=65760&r=trysnapshot54
Try a snapshot (PHP 5.3):   
https://bugs.php.net/fix.php?id=65760&r=trysnapshot53
Try a snapshot (trunk):     
https://bugs.php.net/fix.php?id=65760&r=trysnapshottrunk
Fixed in SVN:               https://bugs.php.net/fix.php?id=65760&r=fixed
Fixed in release:           https://bugs.php.net/fix.php?id=65760&r=alreadyfixed
Need backtrace:             https://bugs.php.net/fix.php?id=65760&r=needtrace
Need Reproduce Script:      https://bugs.php.net/fix.php?id=65760&r=needscript
Try newer version:          https://bugs.php.net/fix.php?id=65760&r=oldversion
Not developer issue:        https://bugs.php.net/fix.php?id=65760&r=support
Expected behavior:          https://bugs.php.net/fix.php?id=65760&r=notwrong
Not enough info:            
https://bugs.php.net/fix.php?id=65760&r=notenoughinfo
Submitted twice:            
https://bugs.php.net/fix.php?id=65760&r=submittedtwice
register_globals:           https://bugs.php.net/fix.php?id=65760&r=globals
PHP 4 support discontinued: https://bugs.php.net/fix.php?id=65760&r=php4
Daylight Savings:           https://bugs.php.net/fix.php?id=65760&r=dst
IIS Stability:              https://bugs.php.net/fix.php?id=65760&r=isapi
Install GNU Sed:            https://bugs.php.net/fix.php?id=65760&r=gnused
Floating point limitations: https://bugs.php.net/fix.php?id=65760&r=float
No Zend Extensions:         https://bugs.php.net/fix.php?id=65760&r=nozend
MySQL Configuration Error:  https://bugs.php.net/fix.php?id=65760&r=mysqlcfg

Reply via email to