-1

I want to send email from my iOS App, without showing native mailComposeController.

I want to fill its email text body and other attributes at back end, I know this is possible but my question is how can I send email without presenting mailComposeController instead of on just the button click(my email sent).

Any help will be appreciated. Thanks!

Irfan
  • 4,301
  • 6
  • 29
  • 46

1 Answers1

4

You can't, since this will be a breach of privacy. For example you could get the user e-mail address without their consent.

An option would be to create your own API to send the e-mail or send it via SMTP directly.

rckoenes
  • 69,092
  • 8
  • 134
  • 166
  • That's not necessarily the case. If, for example, you are running an enterprise device on a company-owned device with the proper policies in place, it would be appropriate. – NoelHunter Jan 11 '16 at 18:42