#32481 [Opn]: IMAP: imap_fetch_overview() only returns the first 'To:' address
| From: | scalero at datadec dot es | Date: | Tue, 29 Mar 2005 17:14:44 +0000 |
| Subject: | #32481 [Opn]: IMAP: imap_fetch_overview() only returns the first 'To:' address | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-75997@lists.php.net to get a copy of this message | ||
ID: 32481
User updated by: scalero at datadec dot es
Reported By: scalero at datadec dot es
Status: Open
Bug Type: Feature/Change Request
Operating System: *
PHP Version: 4CVS, 5CVS (2005-03-29)
New Comment:
OK, Thanks.
Sebastian Calero.
Previous Comments:
------------------------------------------------------------------------
[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 http://bugs.php.net/?id=32481&edit=1