dinhviethoa/libetpan — Issue #24: Is there Some Example Code to Parse Email Header and Attachment?
Author: irishcoffe36
Created: 2011-10-24 00:50:38+00:00
State: open

I have read the Example Code in Tests Directory. but i still don't understand How to Pase Each Part of a EMail.
For Example, I have got the EMail Message Content in data of bytes. How do I get the Subject,From,Receiver,and Attachment Part From the data?
I Notice there was a Example Code called Parse-MIME in Tests Directory. but it seems too hard for me to understand and use.
could anyone supply me some sample code to parse each part of a Email?