]> granicus.if.org Git - php/commit
Adding imap_rfc822_parse_headers(). This function lets you grab mail headers
authorChuck Hagenbuch <chagenbu@php.net>
Sun, 12 Mar 2000 20:47:21 +0000 (20:47 +0000)
committerChuck Hagenbuch <chagenbu@php.net>
Sun, 12 Mar 2000 20:47:21 +0000 (20:47 +0000)
commit65b6639481065ed1b8ef0078514c05f6a4491992
treec18a1738477be446d3409580fcdff04c7b519001
parent20cc50db4cc5ebee4d2da7a1ea1677641b9ace3f
Adding imap_rfc822_parse_headers(). This function lets you grab mail headers
from anywhere - a saved message in an archive, a pop server, a database, etc
- and parse them into an object similar to what imap_headerinfo() returns.
It's just missing the flag info and other things that only come from the
IMAP server.

In the process of doing this, I seperated some more code out into a support
function - _php_make_header_object() - since it was used in multiple
functions. The module is slowly getting well organized.
ext/imap/imap.c
ext/imap/imap.h