|
Hello, I am testing out the Pop3 Mail component to see if we want to replace our existing Pop3 Mail component. Our current component locks up after a while and is not robust enough for our use. Our process is as follows:
When I call the MailMessage.Load(stream) I get the following error message: Unable to parse mail message, headers end with an invalid line. If I save the attachment as a file with the extension .eml and call MailMessage.Load with the filepath it loads fine. Could you please let me know if there is a known issue with loading a memorystream? I'd prefer to not save the files to the disk as this process will operate on 2000 - 3000 emails daily. This issue is repeatable on every email I tried to load from a stream. Thanks, Don Tompkins |
|
This error typically arises when the stream pointer is at the End of stream (so reading from the stream returns nothing). Please ensure the |