React Native Answers

How to open email client with React Native?

Spread the love

To open email client with React Native, we call Linking.openURL to open the email address with the mailto URL.

For instance, we write

  onPress={() => Linking.openURL("")}

to call Linking.openURL with the email URL.

Also, we can call it with a subject and body by writing

  onPress={() =>

We just add the subject and body into the URL as query parameters.

Leave a Reply

Your email address will not be published.

If you like the content of this blog, subscribe to my email list to get exclusive articles not available to anyone else.