An object-oriented programming language developed by Microsoft that can be used in .NET.
Hi @StewartBW ,
StreamReader.ReadLine() strips the line endings (vbCrLf, vbLf, or vbCr) before returning the line. Therefore, vbLf is no longer present in the returned string.
TextFieldParser does not support delimiters that contain end-of-line characters.
You can distinguish between mails by checking the blank line and the "From " in the next line.
Best Regards.
Jiachen Li
If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment". Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.