RE: MFMailComposeViewController: referencing attached data in HTML body

2011-06-27 Thread Pierre Fournier
Great, thanks Heath. > Date: Sun, 26 Jun 2011 21:23:02 -0500 > From: heath.bord...@gmail.com > To: cocoa-dev@lists.apple.com > Subject: Re: MFMailComposeViewController: referencing attached data in HTML > body > > You could base64 your image data and use a data url to

Re: MFMailComposeViewController: referencing attached data in HTML body

2011-06-26 Thread Heath Borders
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 heath.bord...@gmail.com Twitter: heathborders http://heath-tech.blogspot.com On Sun, Jun 26, 2011 at 6:14 PM, Pierre Fournier wrote: > > Hi,is there a way

MFMailComposeViewController: referencing attached data in HTML body

2011-06-26 Thread Pierre Fournier
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:@"" isHTML:TRUE];When running such code, I get a blue question mark instead of the image, while the