php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #674 imap_headerinfo not returning references.
Submitted: 1998-08-20 23:24 UTC Modified: 1998-08-22 07:54 UTC
From: 334647 at swin dot edu dot au Assigned:
Status: Closed Package: Other
PHP Version: 3.0.3 OS: linux 2.034
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 you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: 334647 at swin dot edu dot au
New email:
PHP Version: OS:

 

 [1998-08-20 23:24 UTC] 334647 at swin dot edu dot au
Hi,
  the imap_headerinfo function does not return attributes like "references". The code for this function actaully restricts the attributes to a small set. 
Modifying the call to mail_fetchheader from: 

mystring=mail_fetchheader_full(imap_stream,msgno->value.lval,lines,&length,NIL);

to: 
 mystring=mail_fetchheader_full(imap_stream,msgno->value.lval,NIL,&length,NIL);

removing the reference to the "lines" array fixes the problem.

Cheers,
   Gerrit Thomson.


 Gerrit Thomson.

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [1998-08-22 07:54 UTC] rasmus
Fixed
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Tue May 13 09:01:27 2025 UTC