"send email using react native ios" Code Answer

5

unfortunately, ios doesn't support to mail in background by default.

what you can do - is to make an xhr request to your backend with a data you need and process a mailing procedure on the server.

probably you'll find more handy information here:

  • send email in background from ios

  • how to send an email to a receipent in background in ios5?

upd: you can also try to use iphone smtp client library directly. it means that you need to create a react-native module that will bridge smtp functionality to the js part. but here you'll need to store some private credentials in the code which makes them vulnerable to reverse-engineering.

By Jhonatan Serafim on August 17 2022

Answers related to “send email using react native ios”

Only authorized users can answer the Search term. Please sign in first, or register a free account.