#20724 [Fbk->Bgs]: Can't read body information.
| From: | sniper@php.net | Date: | Fri, 29 Nov 2002 14:40:55 +0000 |
| Subject: | #20724 [Fbk->Bgs]: Can't read body information. | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-26191@lists.php.net to get a copy of this message | ||
ID: 20724
Updated by: sniper@php.net
Reported By: michael@bested.net
-Status: Feedback
+Status: Bogus
Bug Type: IMAP related
Operating System: Win2k
PHP Version: 4.2.3
New Comment:
On second though, this can't be any bug in PHP since we only wrap
around the c-client library..most likely user error too, ask support
elsewhere.
Previous Comments:
------------------------------------------------------------------------
[2002-11-29 08:39:29] sniper@php.net
Is there a message with UID 1?
------------------------------------------------------------------------
[2002-11-29 08:18:01] michael@bested.net
print imap_body ($Con, "1", FT_UID);
The "1" if the UID of the message.
------------------------------------------------------------------------
[2002-11-29 08:12:30] michael@bested.net
First, I try to connect to my mail server with POP3 and read a mail:
$Con = imap_open("{localhost:110/pop3}", "user", "pass");
print imap_body ($Con, "1", FT_UID);
No problem!
Then I try:
$Con = imap_open("{localhost:143}", "user", "pass");
print imap_body ($Con, "1", FT_UID);
then the script return: no body information available.
I have no problems reading the header information or using
imap_fetch_overview();
Can it be a bug?
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=20724&edit=1