Quote:
Originally Posted by starwarsdevwookie59
I have an email setup and it accepts html but I cant find how to fill me email with the contents of an array! I was thinking of mayby converting the contents to an NSString so that I could put them in...
If my array has this "apple","orange","mango",nil;
How would i make it display in an email like this:
-FRUITS-
apple
orange
mango
Anybody have any luck with this?
|
If your body is HTML, you can use:
Code:
NSString *s=@"-FRUITS-<br>";
s=[s stringByAppendingString:[myArray componentsJoinedByString:@"<br>"]];