• 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: Pierre Fournier <email@hidden>
  • Date: Mon, 27 Jun 2011 14:35:29 +0200
  • Importance: Normal

Great,  thanks Heath.
> Date: Sun, 26 Jun 2011 21:23:02 -0500
> From: email@hidden
> To: email@hidden
> Subject: Re: MFMailComposeViewController: referencing attached data in HTML	body
>
> 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
 		 	   		  _______________________________________________

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

References: 
 >MFMailComposeViewController: referencing attached data in HTML body (From: Pierre Fournier <email@hidden>)
 >Re: MFMailComposeViewController: referencing attached data in HTML body (From: Heath Borders <email@hidden>)

  • Prev by Date: Re: NSURLConnection
  • Next by Date: -(id)init methods, NSExceptions, and returning nil
  • Previous by thread: Re: MFMailComposeViewController: referencing attached data in HTML body
  • Next by thread: network volume names changing etc.
  • Index(es):
    • Date
    • Thread