I need to save attachments from .eml files from a vb.net project
OpenPop.net work fine with attachments as .zip, .pdf ... but not find .eml attachment.
After method FindAllAttachments the list is empty and list.count = 0
My .eml files have only one .eml attachment.
I have tested version 2.0.6.1120, 2.0.6.1119 and 2.0.4.369
Tanks
enter code here
Dim oFile As FileInfo = New FileInfo(strfilename)
Dim loadMessage As OpenPop.Mime.Message = Nothing
loadMessage = OpenPop.Mime.Message.Load(oFile)
Dim att As New List(Of OpenPop.Mime.MessagePart)
att = loadMessage.FindAllAttachments()
If att.Count > 0 Then 'HERE att.count = 0, but i have 1 .eml attachment
'...