Hi, I want to use MFMailComposeViewController in my app, like in Apple's MailComposer example application, but ...
I don't want the user to be able to edit the "To:" field, in fact I don't want to display it at all. I don't want to display or have the user edit the CC or BCC fields, or even the Subject field. I don't want that "+" button that lets the user open his Contacts page to add recipients.
What I really want is to be able to populate the picker properties (Subject, toRecipients, AttachmentData) programmatically, and programmatically call the "Send" button, so the email gets sent without even showing the UI.
Is there a way to do that? MFMailComposeViewController is the only way I know to send email with image attachments. If MFMailComposeViewController can't be used like that, does anyone know how to send email with attachments in another way?
And finally, if I'm stuck using MFMailComposeViewController, how do you dismiss the keyboard without pressing the Send or Cancel button?!
Thanks for any help. /Steve