StevenDenenberg
1p1 comments posted · 0 followers · following 0
16 years ago @ blog.mugunthkumar.com - iPhone Tutorial - In-A... · 1 reply · +1 points
Hi,
Thanks for the great post!! 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 want to be able to attach images, but I don't want them to be visible in the view. (In fact, I have another problem: I don't know how to dismiss the UI's keyboard other than clicking Send or Cancel).
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, can I get this functionality another way?
Thanks for any help.
/Steve
Thanks for the great post!! 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 want to be able to attach images, but I don't want them to be visible in the view. (In fact, I have another problem: I don't know how to dismiss the UI's keyboard other than clicking Send or Cancel).
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, can I get this functionality another way?
Thanks for any help.
/Steve