PDA

View Full Version : Sending an image inline html




Petermon21
Aug 8, 2011, 10:45 PM
Ok I'm stumped. I can send images all day long as an attachment but I want them to show up inline instead. Here is what I got.

NSData *imageData = UIImagePNGRepresentation(viewImage);

[picker addAttachmentData:imageData mimeType:@"image/jpeg" fileName:@"design.jpg"];

[picker setMessageBody:emailMessage isHTML:YES];


Any ideas? Thanks!



miles01110
Aug 8, 2011, 11:07 PM
Why even bother? Display of images inline or as attachments is controlled at the recipient, not at the sender.

Petermon21
Aug 9, 2011, 12:04 PM
Not in Yahoo, I have everything set and still not able to display this.

Hansr
Aug 10, 2011, 06:51 AM
Then you need to upload it to a recipient available location and reference it with html in the context of the message.