Advertise Mobile SDKs Books Events Forum News Social Networking Support Us
Follow @iphonedevsdk on Twitter

Interface 2, Advanced iOS
Mockup & Code Gen
($9.99)

Draw This
($0.99)

Make your own iPhone apps
and run them live!
(free)

Pic Frame Dynamo: Photo Editing
($0.99)

Want your application or service advertised on iPhone Dev SDK?

Go Back   iPhone Dev SDK Forum

View Single Post
Old 08-04-2009, 11:43 AM   #2 (permalink)
Dutch
Humbled Student
 
Dutch's Avatar
 
Join Date: Apr 2009
Location: Long Island, NY
Age: 32
Posts: 883
Dutch will become famous soon enough
Send a message via AIM to Dutch
Default

Quote:
Originally Posted by starwarsdevwookie59 View Post
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>"]];
Dutch is offline   Reply With Quote
 

» Advertisements
» Stats
Members: 175,020
Threads: 93,863
Posts: 401,921
Top Poster: BrianSlick (7,962)
Welcome to our newest member, wendolynlm80
Powered by vBadvanced CMPS v3.1.0

All times are GMT -5. The time now is 10:19 AM.
Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.