summaryrefslogtreecommitdiff
path: root/program/include/rcube_imap.php
diff options
context:
space:
mode:
authoralecpl <alec@alec.pl>2008-09-12 12:13:13 +0000
committeralecpl <alec@alec.pl>2008-09-12 12:13:13 +0000
commite5686f4a011ea0110bf49ae1d56aa749c75ffc76 (patch)
tree899339efcde33e6839fcaa0910e44004716543fe /program/include/rcube_imap.php
parent3e8bd7af5947761bf27d018fc02dab9840f7051f (diff)
- Added vertical splitter for folders list resizing
- Added possibility to view all headers in message view - Fixed splitter drag/resize on Opera (#1485170) - debug console css fixes for IE
Diffstat (limited to 'program/include/rcube_imap.php')
-rw-r--r--program/include/rcube_imap.php17
1 files changed, 17 insertions, 0 deletions
diff --git a/program/include/rcube_imap.php b/program/include/rcube_imap.php
index 8a7ad2c9b..1b5ec1670 100644
--- a/program/include/rcube_imap.php
+++ b/program/include/rcube_imap.php
@@ -1371,6 +1371,23 @@ class rcube_imap
return $body;
}
+
+
+ /**
+ * Returns the message headers as string
+ *
+ * @param int Message UID
+ * @return string Message headers string
+ */
+ function &get_raw_headers($uid)
+ {
+ if (!($msg_id = $this->_uid2id($uid)))
+ return FALSE;
+
+ $headers = iil_C_FetchPartHeader($this->conn, $this->mailbox, $msg_id, NULL);
+
+ return $headers;
+ }
/**