diff --git a/functions/imap.xml b/functions/imap.xml
index 96cbb90fb0..617742149b 100644
--- a/functions/imap.xml
+++ b/functions/imap.xml
@@ -727,7 +727,29 @@ fetchsubject (subject line formatted to fit subjectlength
-
+
+
+ imap_rfc822_parse_headers
+ Parse mail headers from a string
+
+
+ Description
+
+ object imap_rfc822_parse_headers
+ string headers
+ string
+ defaulthost
+
+
+
+ This function returns an object of various header elements,
+ similar to imap_header, except without the
+ flags and other elements that come from the IMAP server.
+
+
+
+
+imap_headers