user1140780
user1140780

Reputation: 988

Changing default email to some other email client while sending email in iphone/ipad app (in non built-in app)

If I were to send an email from any ios app (non built in apps) then can I change 'from' (some default id) to some other id. Say gmail is my default email set up in MAIL App. So can I use my other email account to send email even if I use gmail as default mailing option.

I am looking to implement this functionality for my ios app.

Is it possible and is there any way to achieve this using coding?

Upvotes: 0

Views: 469

Answers (1)

dgund
dgund

Reputation: 3467

There is no method for this listed in the Apple Documentation on MFMailComposer, and Apple does not like people messing with MFMailComposer. So no.

From the documentation:

The mail composition interface itself is not customizable and must not be modified by your application. In addition, after presenting the interface, your application is not allowed to make further changes to the email content. The user may still edit the content using the interface, but programmatic changes are ignored. Thus, you must set the values of content fields before presenting the interface.

Upvotes: 1

Related Questions