I am trying to include an image in the body of an HTML letter sent from an iPad. It seems impossible. I tried to use the CID approach, but it seems in iOS it is not possible to get / set the CID of attachments.
I also tried to insert an image with src="data:image/png;base64, blahblahblah" . When you compose mail, it works, but nothing appears when you receive mail.
Any ideas?
Details : We are not looking for solutions in which JPEG / PNG is attached at the bottom of the letter. This is easy to do with [composer addAttachmentData:mimeType:fileName:] .
We are looking for a solution in which the image is embedded inline in electronic format in HTML format. You can wrap the link around this IMG tag so that when the recipient clicks on the IMG, he / she will be linked to the iTunes application page.
Carlos
source share