summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
0b331da)
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@2883
7612ce4b-ef26-0410-bec9-
ea0150e637f0
$charset = $header["CHARSET"];
$filename = $header["FILENAME"];
}
$charset = $header["CHARSET"];
$filename = $header["FILENAME"];
}
+
+/* function to get the mime headers */
+function sqimap_get_mime_ent_header ($imap_stream, $id, $mailbox, $ent) {
+ $read = sqimap_run_command ($imap_stream, "FETCH $id:$id BODY[$ent.MIME]", true, $response, $message);
+ $header = sqimap_get_header($imap_stream, $read);
+ $header->id = $id;
+ $header->mailbox = $mailbox;
+ return $header;
+}
+
*/
/* Queries the IMAP server and gets all header information. */
function sqimap_get_header ($imap_stream, $read) {
*/
/* Queries the IMAP server and gets all header information. */
function sqimap_get_header ($imap_stream, $read) {