Is there a cross-platform way of launching an email client from FireMonkey so that it will work on both Windows and OS/X. Under windows I can do the following:
ShellExecute(0, 'OPEN', 'mailto:somebody@somewhere.com', '', '', SW_ShowDefault);
Is there a cross-platform equivalent to launch an email client (preferably with attachments, recipient, subject, body etc.)?
As far i know there is not a cross-platform way to send a mail, but using the
ShellExecutefunction in the windows side and the NSWorkspace.openURL for the OSX you can write your own implementation.Try this OSX implementation.