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: 2020-10-09 15:02 UTC
Votes:1
Avg. Score:5.0 ± 0.0
Reproduced:1 of 1 (100.0%)
Same Version:0 (0.0%)
Same OS:0 (0.0%)
From: scalero at datadec dot es Assigned: cmb (profile)
Status: Closed 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 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

Pull Requests

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
 [2020-10-09 15:02 UTC] cmb@php.net
-Status: Open +Status: Closed -Assigned To: +Assigned To: cmb
 [2020-10-09 15:02 UTC] cmb@php.net
I think we can close this now. :)
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Thu Jul 03 13:01:33 2025 UTC