Hi all,
I have a small but serious problem. Using the example of Erel, recover emails BUT ...
The emails are not downloaded complete. The small post discharge completely, but the largest are only partially downloaded. Not if you have something to do MessageText that maps to a String and has a size limit.
I understand that may be a mistake of mine concepts, but after several days I do not see the solution.
Can you help? :sign0085:
Thank you!
I have a small but serious problem. Using the example of Erel, recover emails BUT ...
The emails are not downloaded complete. The small post discharge completely, but the largest are only partially downloaded. Not if you have something to do MessageText that maps to a String and has a size limit.
I understand that may be a mistake of mine concepts, but after several days I do not see the solution.
Can you help? :sign0085:
Thank you!
B4X:
Sub POP_DownloadCompleted (Success As Boolean, MessageId As Int, MessageText As String)
If Success = False Then
Log(LastException.Message)
Else
Log(MessageId)
Log(MessageText) 'In long emails can not see the mail so that it can fully analyze later
'Parse the mail
Dim m As Message
m = MailParser.ParseMail(MessageText, File.DirRootExternal)
Log(m.body)
End If
End Sub