- Home /
mailto: does not work on iOS?
I have a button that gives the player an opportunity to write a bug report while in the game. My command is Application.OpenURL("mailto:support@mygame.com?subject=Bug Report - Version ("+Global.gGlobalData.versionId+")");
I have put this into my browser and received the desired result of my email client loading a new message window. However, this is not the case when testing on my iPod 4 device.
Is this not a viable option with iOS or did I simply miss something?
I'm having the same problem @Whelandrew
I'm trying to display a var in an email. Works fine in Android/windows but not in iOS.
Did you ever find out a way to do this?
Answer by ickydime · Nov 14, 2015 at 09:49 PM
Make sure you www.URLEscape the subject and body. Otherwise it won't know what to do with the spaces.
Answer by jogo13 · Jan 03, 2013 at 07:01 PM
I've gotten it to work using this encoder: http://email.about.com/library/misc/blmailto_encoder.htm
I know that the encoding works outside the project but it just won't run in Unity or iOS
Hmm it worked for me in iOS. (iphone 4S & iPad) (Unity 3.5) Working example here: http://answers.unity3d.com/questions/358635/how-do-i-send-an-email-on-ios-using-applicationope.html