#20724 [Com]: Can't read body information.
| From: | michael at bested dot net | Date: | Sat, 30 Nov 2002 11:45:13 +0000 |
| Subject: | #20724 [Com]: Can't read body information. | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-26221@lists.php.net to get a copy of this message | ||
ID: 20724
Comment by: michael@bested.net
Reported By: michael@bested.net
Status: Bogus
Bug Type: IMAP related
Operating System: Win2k
PHP Version: 4.2.3
New Comment:
http://indbrudstyv.dk/mail/mail.php
Try to check this example.
First, I connect with POP3 - no problem. Then I connect with IMAP but
don't get the body.
Previous Comments:
------------------------------------------------------------------------
[2002-11-29 08:40:54] sniper@php.net
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.
------------------------------------------------------------------------
[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