Question

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!

Was it helpful?

Solution

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.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top