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
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem:
28 - 5 = ?
Subscribe to this entry?

 
 [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: Mon Apr 29 12:01:32 2024 UTC