Does anyone know of a good set of code which will A. Help me extract just the message out of emails. Problem I am having is that I cannot get my messages out of multipart emails, while removing the inline attachment or making the attachment a download instead of inline image.
Code that will help me get the files out for download as well as inline images.
I am also having a problem with fetchbody in that imap_fetchbody($mbox,2,2.1) should return part 2 part 1, but I always come up with blanks.
Any help would be greatly appreciated.