Alfy
Alfy

Reputation: 1

How to preselect the mail account in iOS MFMailComposeViewController?

I know there is no method in iOS for setting the From: address header in MFMailComposeViewController http://developer.apple.com/library/ios/#documentation/MessageUI/Reference/MFMailComposeViewController_class/Reference/Reference.html#//apple_ref/occ/cl/MFMailComposeViewController.

However, I can't believe it is not possible since iOS version 3.

Is there any offical way in iOS to configure the MailComposer with a specific mail account?

The business requirements for the app are: Send email using a From (or reply-to) address depending on some recipients properties.

Upvotes: 0

Views: 674

Answers (1)

WrightsCS
WrightsCS

Reputation: 50727

Default mail accounts are predetermined in the iOS Settings. There is no way for you to programmatically select a mail account to send mail from.

Upvotes: 1

Related Questions