pulkitsinghal
pulkitsinghal

Reputation: 4084

How to get the to, from, cc and bcc fields from mail composer in a callback for iPhone?

Does anyone know if its possible and how to get the TO, FROM, CC, and BCC fields from a mail composer in a callback for the iPhone?

Upvotes: 1

Views: 611

Answers (1)

S.P.
S.P.

Reputation: 3054

Using MFMailComposer.

Cannot be done. The only delegate that you find for this is

MFMailComposeViewControllerDelegate

mailComposeController:didFinishWithResult:error:

You can set it to some predefined values for once the user enters the MailComposer

By setting setToRecipients: and setCcRecipients:

But these settings are for BEFORE you give the user the control. After that you only get the above.

Upvotes: 1

Related Questions