Req #32481 [Opn->Csd]: IMAP: imap_fetch_overview() only returns the first 'To:' address

From: Date: Fri, 09 Oct 2020 15:02:08 +0000
Subject: Req #32481 [Opn->Csd]: IMAP: imap_fetch_overview() only returns the first 'To:' address
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-229496@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=32481&edit=1

 ID:                 32481
 Updated by:         cmb@php.net
 Reported by:        scalero at datadec dot es
 Summary:            IMAP: imap_fetch_overview() only returns the first
                     'To:' address
-Status:             Open
+Status:             Closed
 Type:               Feature/Change Request
 Package:            IMAP related
 Operating System:   *
 PHP Version:        4CVS, 5CVS (2005-03-29)
-Assigned To:        
+Assigned To:        cmb
 Block user comment: N
 Private report:     N

 New Comment:

I think we can close this now. :)


Previous Comments:
------------------------------------------------------------------------
[2005-03-29 19:14:43] scalero at datadec dot es

OK, Thanks.

Sebastian Calero.

------------------------------------------------------------------------
[2005-03-29 14:52:58] 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 13:14:25] 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.



------------------------------------------------------------------------



--
Edit this bug report at https://bugs.php.net/bug.php?id=32481&edit=1


Thread (4 messages)

« previous php.bugs (#229496) next »