I am trying to find out the best way to add an image inside the body of the email and not as attachment in ios.
1) Apple has provided a function "addAttachment" and the doc says, to add any image in the content, we should use this function, but I tried that function, and sent an mail, I checked on my browser, it is recieved as an attachment.
2) Secondly, many blogs say to use base64 encoding, but that also wont work, image is sent as a broken one.
So friends, please help me out to find the best available solution to do this.
Regards
Ranjit
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…