The thing is I need a way to pull the header information out of an email thats attached inside the email, the information is there because if I open the message up with a text editor I see it but do to the lack of documentation in the imap section of php.net I cannot understand how to do so.
Ive tried to fetch it with fetch structure but my attempts at fetching parts using the fetch structure have failed altho it does work nice for emails without attachments, Ive also tried parsing the body with both imap_body and imap_fetchbody but thats also a no go because the information isnt always there in some emails, Ive tried to read RFC 822 but I see no information in that topic on how php parsing parts of an email. someone please help me Ive spent about a week for this searching for an answer on my own and Ill be damned if I could find one on google or on php.net in the user comments section