Question

Is there a way to send an email from iOS application without using MFMailCompose UI.

I need to send an email with a small (1.5mb) video but using a custom UI. This is not an app that is going to end up in app store because it's going to be in a kiosk environment. So I can use private APIs.

The reason that I cannot use MFMailCompose is multi-part.

1) UI is not customisable enough for my specific needs.

2) When you tap on EmailTo field and start typing it populates previously entered email addresses or email addresses in contacts list. (Shown in Figure_1). I need to get rid of this functionality.

3) You can also add additional emails from your contact list by tapping 'Plus Button' at the end of the TextField which will again show you your contact list.(Shown in Figure_2). I need to get rid of this functionality too.

But still, I would want to use the attaching video functionality that MFMailCompose provides and I don't want to use a web service to do this, as uploading these video onto some other servers maybe a privacy concern for many users.

Is there any private ios APIs that I can use to archive this. Use MFMailCompose functionality without the UI.

Any help is greatly appriciated.

Figure_1 : enter image description here

Figure_2 : enter image description here

Était-ce utile?

La solution

You can use SKPSMTPMessage, it's not private though. Git Hub. As far as video is concerned i hope this question can help

Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top