FROM : Jens Alfke
DATE : Fri May 02 06:19:05 2008
On 1 May '08, at 9:05 PM, Peter Zegelin wrote:
> If I shorten the Subject to just subject=AlphaDraw it works but it
> looks like any spaces are causing the method to fail.
> Any suggestions what may be wrong?
Spaces aren't legal in URLs, so the NSURL object you're getting is
nil. You have to URL-encode the subject string, calling -
stringByAddingPercentEscapesUsingEncoding:.
—Jens
DATE : Fri May 02 06:19:05 2008
On 1 May '08, at 9:05 PM, Peter Zegelin wrote:
> If I shorten the Subject to just subject=AlphaDraw it works but it
> looks like any spaces are causing the method to fail.
> Any suggestions what may be wrong?
Spaces aren't legal in URLs, so the NSURL object you're getting is
nil. You have to URL-encode the subject string, calling -
stringByAddingPercentEscapesUsingEncoding:.
—Jens
| Related mails | Author | Date |
|---|---|---|
| Peter Zegelin | May 2, 05:02 | |
| Michael Vannorsdel | May 2, 05:16 | |
| Peter Zegelin | May 2, 06:05 | |
| Andrew Farmer | May 2, 06:18 | |
| Jens Alfke | May 2, 06:19 | |
| Michael Vannorsdel | May 2, 06:19 | |
| Peter Zegelin | May 2, 06:24 |






Cocoa mail archive

