Sending Emails from iOS devices

Hello everyone,

I am currently using Expo SDK 35 and my goal is to send emails from the iOS emulator. So here what I did. I first installed expo install expo-mail-composer

Next, I wrote this code

import * as MailComposer from ‘expo-mail-composer’;

Hi

As you can see in the docs this will not work on the iOS Simulator, but should work on a real device:

https://docs.expo.io/versions/latest/sdk/mail-composer/

You will also need to call MailComposer.composeAsync(options)

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.