I want to design an email header parser using c language. I have the email header in text format, but i don't have any idea of how to parse and ext开发者_StackOverflow中文版ract information from it, and what is the relevent information to be extracted.
If anybody have an idea of any programme please inform.
There are a lot of libraries in C++ that you could use or check out for clues, like these or mimetic.
I suggest you also check these out: RFC2821 and RFC2822
One way to go about it is to use a regular expressions library. This is a good place to start: http://www.gnu.org/s/libc/manual/html_node/Regular-Expressions.html
 
         
                                         
                                         
                                         
                                        ![Interactive visualization of a graph in python [closed]](https://www.devze.com/res/2023/04-10/09/92d32fe8c0d22fb96bd6f6e8b7d1f457.gif) 
                                         
                                         
                                         
                                         加载中,请稍侯......
 加载中,请稍侯......
      
精彩评论