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
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
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

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 00:01:28 2024 UTC