Hello I use Linking api to open mailto.
I try to call mail app using below
Linking.openURL(\'mailto://somethingemail@gmail.com&subject=abcdefg&am
You need to remove the '//' in your url and add a '?' : mailto:somethingemail@gmail.com?subject=abcdefg&body=body
Here are my cases:
return (Platform.OS === 'android')
? sms:1-408-555-1212?body=yourMessage
: sms:1-408-555-1212&body=yourMessage;
return (Platform.OS === 'android')
? mailto:foo@example.com?cc=?subject=yourSubject&body=yourMessage
: mailto:foo@example.com?cc=&subject=yourSubject&body=yourMessage;
Note: your mail url must contain cc=
even if you don't have any cc emails.
?
&
for the first parameter.