When parsing a mail that has large attachments (for example 100 mb), memory consumption is quite high, probably, because you (need to) load all message data into memory. Is there a way to reduce the memory consumption by not having the attachment data in memory (but still being able to save it to file/stream, or all attachments to a specified directory while parsing, if neccessary)? I tried MimeOptions.DoNotPreloadAttachments, but that only seems to work with SMTP, if I understand correctly.
This would be really important to us, because we have customers sending attachments with multiple hundred mb in size (not a good idea, I know, but you can't tell them ;-)) and are currenty looking for a library that can handle sending, receiving, and parsing such large mails reliably.
Sincerely,
Olaf Bartelt
CTO
AMTANGEE AG