hi! i was trying reading the email using imap functions but due to some attachemnts i could not retrieve the whaole mail properly.can u tell me how to vieew attachments (.xls,.doc etc) using imap. thanks Abhishek my email id :abhishek_arora1@yahoo.com
you can use the function ---- imap_fetchstruct to get the structure of the message,and then from the returned var $struct,get the attribution parts[], to every parts[$i],get the attribution encoding and read it's content