|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #20724 Can't read body information.
Submitted: 2002-11-29 08:12 UTC Modified: 2002-11-29 08:40 UTC
Avg. Score:4.0 ± 0.0
Reproduced:0 of 0 (0.0%)
From: michael at bested dot net Assigned:
Status: Not a bug Package: IMAP related
PHP Version: 4.2.3 OS: Win2k
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 this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Bug Type:
From: michael at bested dot net
New email:
PHP Version: OS:


 [2002-11-29 08:12 UTC] michael at bested dot 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?


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2002-11-29 08:18 UTC] michael at bested dot net
print imap_body ($Con, "1", FT_UID);

The "1" if the UID of the message.
 [2002-11-29 08:39 UTC]
Is there a message with UID 1? 
 [2002-11-29 08:40 UTC]
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-30 05:45 UTC] michael at bested dot net

Try to check this example.

First, I connect with POP3 - no problem. Then I connect with IMAP but don't get the body.
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Jul 19 09:01:28 2024 UTC