I find that I can
[picker setToRecipients:[NSArray arrayWithObject:@"My Name <[email protected]>"]];
and it nicely displays "My Name" in the To: field when composing the email, and delivers it correctly to [email protected], on my iPad device. Looks good in the iPad simulator too (can't send though of course).
But the iPhone simulator just shows "1 recipient" on the compose screen. Don't know whether it would send it ok or not, don't have an iPhone device handy to test that.
Has anyone else gone down this path? Any way of getting the display-name on the iPhone compose screen?
Thanks
OK got it. There is a 40-character limit on the display name. When I figured this out and googled "email display-name 40" I find there other (non-Apple) references to a 40-char limit. RFC possibly. Perhaps I should have included the real display-name and email address in my question ;)
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With