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
 [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

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [1998-08-22 07:54 UTC] rasmus
Fixed
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Mar 29 02:01:30 2024 UTC