Quantcast
Channel: Aspose.Email Product Family
Viewing all articles
Browse latest Browse all 1367

How to read only headers from EML file

$
0
0
Hi,

I need to read a lot of messages (thousands) in EML format  and get basic information from headers (no need to read the rest of the message - only headers).

There is memory consumption issue that I reported before, when reading 75 MB message using MailMessage class requires more than 300MB of RAM. So reading a lot of messages simultaneously sometimes results in OutOfMemory exception.

My question: Is there any lightweight reader that allows to read only message headers?

Thanks,
Alex

Viewing all articles
Browse latest Browse all 1367