• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: MFMailComposeViewController: referencing attached data in HTML body
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: MFMailComposeViewController: referencing attached data in HTML body


  • Subject: Re: MFMailComposeViewController: referencing attached data in HTML body
  • From: Heath Borders <email@hidden>
  • Date: Sun, 26 Jun 2011 21:23:02 -0500

You could base64 your image data and use a data url to refer to it
within your HTML. Then, you wouldn't have to attach it.


-Heath Borders
email@hidden
Twitter: heathborders
http://heath-tech.blogspot.com



On Sun, Jun 26, 2011 at 6:14 PM, Pierre Fournier <email@hidden> wrote:
>
> Hi,is there a way to reference the attached data within the HTML body?[mailController addAttachmentData:pngDataFooter  mimeType:@"image/png" fileName:@"footer.png"];[mailController setMessageBody:@"<html><body><img src=\"footer.png\"></body></html>" isHTML:TRUE];When running such code, I get a blue question mark instead of the image, while the image is correctly attached.I want to kind of compose an html email based of different images.                                          _______________________________________________
>
> Cocoa-dev mailing list (email@hidden)
>
> Please do not post admin requests or moderator comments to the list.
> Contact the moderators at cocoa-dev-admins(at)lists.apple.com
>
> Help/Unsubscribe/Update your Subscription:
>
> This email sent to email@hidden
>
_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • RE: MFMailComposeViewController: referencing attached data in HTML body
      • From: Pierre Fournier <email@hidden>
References: 
 >MFMailComposeViewController: referencing attached data in HTML body (From: Pierre Fournier <email@hidden>)

  • Prev by Date: Re: network volume names changing etc.
  • Next by Date: Re: NSBrowser matrix
  • Previous by thread: MFMailComposeViewController: referencing attached data in HTML body
  • Next by thread: RE: MFMailComposeViewController: referencing attached data in HTML body
  • Index(es):
    • Date
    • Thread