Send email from expo


#1

I want expo to add this feature.

I want to send email directly from expo,


#2

Add it here https://expo.canny.io/feature-requests


#3

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.


#4

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.


#5

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.


#6

try changing mailto:// to mailto:


#7

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


#8

Any solution for this issue?


#9

Hi. Is there any solution for this issue?


#10

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?


#11

@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


#12

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


#13

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