Send email from expo

I want expo to add this feature.

https://github.com/chirag04/react-native-mail

I want to send email directly from expo,

Add it here Feature Requests | Expo

1 Like

Yeah – add your request to the site mentioned above.

Also, you can do sort of what you want maybe by doing something like this:
https://snack.expo.io/BJRy-uWdb

It will open the mail app, though it won’t keep you inside your app while the mail is being sent, it’s close to what you are looking for.

Yeah~ Thanks for reply. I already posted the request mentioned above. However I won’t try “https://snack.expo.io/BJRy-uWdb” <===== this one since it violates user experience in my app. I think this is not a good idea.

Hi ccheever! I’ve just tried your suggestion. I was curious if Linking would open mail app like that. Therefore I’ve just tried now and it won’t work. What is a problem?

I’ll paste screenshot below.

try changing mailto:// to mailto:

1 Like

I’ve just tried what you told me here but still emits err message.

Any solution for this issue?

Hi. Is there any solution for this issue?

are you trying to do this in the simulator? the mail app might not be on there or might not be setup. Try it on a real device if you are on the simulator?

@dooboolab Hey, no need to touch native layer or request to expo for this.

just use this package → https://github.com/anarchicknight/react-native-communications

it can send email, sms, call, even iMessage.

Just finish this only on javascript layer

2 Likes

It is not work on android emulator but works on real phone

1 Like

react-native-communications doesn’t allow attachments, anyone found a solution to send emails with attachments?

1 Like