Sending e-mail from iPad/iPhone doesn't work

Hi guys!

I found some answers, like this one but somehow I couldn’t get the e-mail to work.

Here is my code snippet

function Update(){
    if(objectHit.gameObject.tag == "TellFriend"){
		Application.OpenURL("mailto:yesyoucan@hotmail.com?subject=Email&body=from Unity");
		Debug.Log("TellFriend");
	}
}

The “TellFriend” is printed in the log so I’m sure it’s running but nothing happen after it’s triggered. Did I miss anything? I have searched for answers and everybody said to use “Application.OpenURL()”. Thank you in advance =)

Got it work, I found out I can’t put spacing in the “body” parameter. A bit odd but at least I know it’s working now :smiley:

Found out I have to use “%20” to give space to the string.