As I wrote in reply to your other, nearly identical, question: you really need to read the MIME specifications and the POP3 specification if you ever hope to write a mail client.
Or you could use a library which has done most of the hard work for you, such as MimeKit and MailKit.
You'll still really need to have at least a basic understanding of MIME, but at least you won't have to write a parser for it (which is non-trivial seeing as how many messages in the real world do not follow the specifications - often having been written by folks who never bothered to actually read the specifications).