I’m trying to include an image in an email, which is being sent using a mailto: URL in an iPhone app. The image shows up on the sender’s mail app, but after being sent, the tag seems to be stripped out entirely. Here’s a snippet, which has been escaped by hand:
[mailUrl appendString:@"&body=%3Cimg%20src%3D%22http%3A//stackoverflow.com/content/img/stackoverflow-logo.png%22%20/%3E"];
Short of using my own SMTP server, or sending them as attachments, is there any way to embed images in an email on the iPhone?
No there is no way to do it using the iPhone SDK up till version 2.2.1.
There is a way to do it with the 3.0 SDK but it is under NDA so I cannot discuss it here 🙁