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

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

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

Pic Frame Dynamo: Photo Editing
($0.99)

Abiliator
($1.99)

Want your application or service advertised on iPhone Dev SDK?

Go Back   iPhone Dev SDK Forum

View Single Post
Old 04-30-2009, 02:37 PM   #4 (permalink)
FlyingDiver
Former NeXTStep Developer
 
Join Date: Mar 2009
Posts: 997
FlyingDiver will become famous soon enough
Default

Quote:
Originally Posted by DenVog View Post
Thanks for your reply.

I should clarify that my code example works fine in terms of sending a mail with a long line of text. What it doesn't do is providing any formatting to make it easier to read (e.g. bold, line breaks or returns). Any formatting examples I have tried to apply to it don't like the string inputs.
Ah. That wasn't clear. You should be able to get line breaks into the output by putting in carriage returns ('\r') where you want them, before its' URL encoded. If you want anything else, you're going to have to get a LOT more complicated. It'll have to be either MIME or HTML, and you're going to need to put in all the headers to declare a file type for the message body. Have you tried that?

joe
FlyingDiver is offline   Reply With Quote
 

» Advertisements
» Online Users: 446
14 members and 432 guests
buggen, ClerurcifeDer, coolman, Droverson, fredidf, givensur, guusleijsten, kevinbertman, Kieren Harrold, mer10, PavelMik, sledzeppelin, Speed, TheStalker
Most users ever online was 1,387, 04-10-2012 at 04:21 AM.
» Stats
Members: 175,636
Threads: 94,101
Posts: 402,820
Top Poster: BrianSlick (7,990)
Welcome to our newest member, samdanielblr
Powered by vBadvanced CMPS v3.1.0

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