Sending an automatic Email with Swift and Xcode 6

前端 未结 3 919
旧时难觅i
旧时难觅i 2020-12-17 04:37

How would you send an automatic email in a swift ios app? I don\'t want to use MessageUI because it is not automatic. How could you do this?

3条回答
  •  旧时难觅i
    2020-12-17 05:11

    The thing is that Apple does not allow you to send e-mails in the background. I came across that problem as well. You'll have to let the user confirm to send it. So create the mail and let it pop up, then the user just needs to press send.

    Thats unfortunately the only way to do it.

    Hope it helps :)

提交回复
热议问题