I have been working to add functionality to the Mail Parser. There is one mail type that I cannot figure out how to deal with. The attached txt file is for a piece of Apple Mail. It contains a few lines of text and four base64 images. I am aware of Peter Simpson’s Base64 encode/decode image library. But, have no idea how to process this mail in preparation for decoding.
I would like to create a Sub that will, in principle, look something like the rough illustration below. I don’t know how to to create this Sub, and I hope that someone who has done this will share their knowledge.
EDIT: I have tried to upload the file containing the four images, but it is too large. Instead, I have uploaded a similar file containing only one image. It is dealing with images, whether singular or multiple, that confounds me. I just don't know where to begin.
Any help is greatly appreciated
Regards
I would like to create a Sub that will, in principle, look something like the rough illustration below. I don’t know how to to create this Sub, and I hope that someone who has done this will share their knowledge.
B4X:
Mail = DecodeAppleMail(Mail)
Msg.Body = Mail
Sub DecodeAppleMail(MyString As String) As String
_ _ _ _ _ _
Return MyString
End Sub
Any help is greatly appreciated
Regards