Send email from iOS app

Viewed 1599

I'm building a very basic iOS app with Swift 3. It consists on a formulary with this fields:

  • Name
  • Last name
  • Email
  • Phone
  • City (Picker View)
  • Description

I want to send this data with an email. Using field Email as a receiver, and the rest of the fields in the Body.

I want the sender always be the same, I have a Wordpress backend, I don't know if I must have endpoint to do this (maybe sending mail with PHP, not from the App directly).

I tried to use MFMailComposeViewController, but this open the modal to send an email, and requires to configure an email account on the device.

Any idea how to do this?

2 Answers
Related