Sending an image inline html

Discussion in 'iOS Programming' started by Petermon21, Aug 8, 2011.

  1. macrumors newbie

    Joined:
    Oct 21, 2010
    Location:
    va
    #1
    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.
    Code:
    NSData *imageData = UIImagePNGRepresentation(viewImage);
        
    [picker addAttachmentData:imageData mimeType:@"image/jpeg" fileName:@"design.jpg"];
    
    [picker setMessageBody:emailMessage isHTML:YES];
    
    Any ideas? Thanks!
     
  2. macrumors Core

    miles01110

    Joined:
    Jul 24, 2006
    Location:
    The Ivory Tower (I'm not coming down)
    #2
    Why even bother? Display of images inline or as attachments is controlled at the recipient, not at the sender.
     
  3. thread starter macrumors newbie

    Joined:
    Oct 21, 2010
    Location:
    va
    #3
    Not in Yahoo, I have everything set and still not able to display this.
     
  4. macrumors 6502a

    Joined:
    Apr 1, 2007
    #4
    Then you need to upload it to a recipient available location and reference it with html in the context of the message.
     

Share This Page