php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #32481 IMAP: imap_fetch_overview() only returns the first 'To:' address
Submitted: 2005-03-29 13:14 UTC Modified: 2016-12-30 22:47 UTC
From: scalero at datadec dot es Assigned:
Status: Open Package: IMAP related
PHP Version: 4CVS, 5CVS (2005-03-29) OS: *
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: scalero at datadec dot es
New email:
PHP Version: OS:

 

 [2005-03-29 13:14 UTC] scalero at datadec dot es
Description:
------------
When I apply the function "imap_fetch_overview" to a message with several email addresses recipients only the fisrt is returned in the 'to' field.

This is the result of 'imap_fetch_overview' to a message with 2 recipients:

array(1) {
  [0]=>
  object(stdClass)(14) {
    ["subject"]=>
    string(11) "TEST mail"
    ["from"]=>
    string(20) "aaa@test.net"
    ["to"]=>
    string(18) "bbb@test.net"
    ["date"]=>
    string(31) "Tue, 29 Mar 2005 08:36:53 +0200"
    ["message_id"]=>
    string(63) "<20050329083653.yoch0gx0kkkskk4k@test.net>"
    ["size"]=>
    int(564)
    ["uid"]=>
    int(17)
    ["msgno"]=>
    int(1)
    ["recent"]=>
    int(0)
    ["flagged"]=>
    int(0)
    ["answered"]=>
    int(0)
    ["deleted"]=>
    int(0)
    ["seen"]=>
    int(1)
    ["draft"]=>
    int(0)
  }
}


The "to" field must to contain "bbb@test.net, ccc@test.net".


Greetings and thanks.

Sebastian Calero.


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2005-03-29 14:52 UTC] sniper@php.net
This is not a bug. Reclassified as feature request.
(the function name says it already: imap_fetch_OVERVIEW..)

You should use some other function to get more detailed information per message.

 [2005-03-29 19:14 UTC] scalero at datadec dot es
OK, Thanks.

Sebastian Calero.
 [2016-12-30 22:47 UTC] cmb@php.net
-Package: Feature/Change Request +Package: IMAP related
 
PHP Copyright © 2001-2019 The PHP Group
All rights reserved.
Last updated: Mon Aug 19 15:01:27 2019 UTC