Torus
asked on
write a pop3 program
I am writing a pop3 program and would like to know what the
good way to parse the mail or multipart mail body. In general practice, is it likely to finish popping a mail and then write the content to a temp file before parse the mailbody or analyse the data immediately once get the data?
which one is easier for coding?
Also, is there any reference about that especially parsing multipart body?
Actually, for some reasons, I should write the program. So, it seems no use if OCXs are suggested. However, it is most appreciated if there are source codes for reference. :)
Thanks
Actually,
good way to parse the mail or multipart mail body. In general practice, is it likely to finish popping a mail and then write the content to a temp file before parse the mailbody or analyse the data immediately once get the data?
which one is easier for coding?
Also, is there any reference about that especially parsing multipart body?
Actually, for some reasons, I should write the program. So, it seems no use if OCXs are suggested. However, it is most appreciated if there are source codes for reference. :)
Thanks
Actually,
ASKER
Thanks for your answer.
I understand the RFCs give me the idea of smtp and pop3. However, maybe my question is not clear, I am concerning how to code the parsing mechanism. It seems quite complicated expecially the content-type is rfc822/message since it may contain another
header within the body.
I understand the RFCs give me the idea of smtp and pop3. However, maybe my question is not clear, I am concerning how to code the parsing mechanism. It seems quite complicated expecially the content-type is rfc822/message since it may contain another
header within the body.
ASKER
Thanks for your answer.
I understand the RFCs give me the idea of smtp and pop3. However, maybe my question is not clear, I am concerning how to code the parsing mechanism. It seems quite complicated expecially the content-type is rfc822/message since it may contain another
header within the body.
I understand the RFCs give me the idea of smtp and pop3. However, maybe my question is not clear, I am concerning how to code the parsing mechanism. It seems quite complicated expecially the content-type is rfc822/message since it may contain another
header within the body.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
I have finished the parsing mechanism. Anyway, thanks for your answer.
ASKER
BTW, What's the control for?
It's a control pack featuring POP3, SMTP, NNTP, HTTP, FTP and other OCX, it was formerly distributed by MS, now it's freely downloadable from the URL I mentioned above
Bye.