Hello,
Does anybody know hot to send email from iOS application?
I tried to do it like this:
NSCharacterSet characterSet = NSCharacterSet.URLHostAllowedCharacterSet();
String emailString = NSString.alloc().initWithString("mailto:[email protected]=test")
.stringByAddingPercentEncodingWithAllowedCharacters(characterSet);
UIApplication.sharedApplication().openURL(NSURL.URLWithString(emailString));
But id doesn’t work. Nothing happens after this code is executed.