mailto with html body for UIApplication sharedApplication

Hi There,
I would like to have my iPhone application be able to email out in html format some local data. After looking at it I have two questions:

1) What is the best way to construct large strings i.e html content. Appending hundreds on lines to an NSString seems cumbersome. In Java I would use a StringBuffer but I cant't find the C counterpart.

2) Once I have this html content can I simply pass it as the '?body'var in the mailto url of the UIApplication sharedApplication? It's a lot of data and may not have the correct %20 UTF coding.

Any ideas or examples on the best way to do this if it is at all possible? Ideally I would like to send an email with an attachment but the iPhone SDK prohibits that currently.

Many Thanks All

macBook Pro, Mac OS X (10.5.4)

Posted on Aug 25, 2008 2:05 PM

Reply

There are no replies.

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

mailto with html body for UIApplication sharedApplication

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.