when i read an email with attachment, how can i use php function to get these headers: MIME-Version, Content-Type
i've tried imap_header(),but it does work..
post the code that you have. there might just be a simple problem with it.
if i want the subject of an email, i can easyly get it by using "imap_header": ... ... $imapheader = imap_header($mbox, $id); echo $imapheader->Subject; ...
but how can i get the MIME-Version and Content-Type ?