Ok, so I have successfully made my first in-app Email app using MFMAilComposer. I have the toRecipients textfield added, as well as subject and body etc. So I understand that the email will not send if I use the simulator and will send with an iPhone. However, when a person receives the email, how is that person supposed to know whom he received it from? With this in mind, a "From" field should be in order. I appreciate all answers, and thanks in advance :)
Asked
Active
Viewed 471 times
1
-
possible duplicate of [How to set from in MFMailComposeViewController?](http://stackoverflow.com/questions/7982477/how-to-set-from-in-mfmailcomposeviewcontroller) – bryanmac Sep 04 '12 at 00:20
1 Answers
1
You don't have to handle this, the mail composer does it for you. When the composer is shown it defaults to the users default email account but if they want to choose which email address they are sending from they can simply tap their email and a list will expand allowing them to choose from which of their emails to send the message.

Mick MacCallum
- 129,200
- 40
- 280
- 281
-
Ah, so what you're saying is that my app with already knows the user's email via the email app, and that when my app is on an actual iPhone, it will display their email account? – doc92606 Sep 04 '12 at 19:01
-
@doc92606 That is correct, and if my answer has helped you be sure to upvote and mark as correct! – Mick MacCallum Sep 04 '12 at 19:04
-
-
@doc92606 Thanks! But you should already be able to mark the answer as correct by clicking the "check mark" – Mick MacCallum Sep 04 '12 at 19:17