This is the forum for miscellaneous technical/programming questions.
3 posts • Page 1 of 1
You asked a similar question in this same forum 2 years ago:Lena wrote:I want to send email from the IOS application. I found this solution. Please help me translate this code from pascal:
Sending an email from an iOS FireMonkey application
In this case, simply pass in a "mailto" formatted url string to the OpenURL() wrapper method that you were previously given, eg:
Code: Select all
String ToStr = Edit1->Text; String SubjectStr = Edit2->Text; String BodyStr = Memo1->Text; String URL = _D("mailto:") + ToStr + _D("?subject=") + SubjectStr + _D("&body=") + BodyStr; OpenURL(URL);
Remy Lebeau (TeamB)