Usando Delphi xe4, el cliente de correo no se abre

Referring to a different article/question: El programa de correo electrónico abierto Delphi XE4 iOS no funciona

Same symptoms apply to my situation. When debugging in the iPhone simulator, I can paste into the Safari Web Browser, 'mailto:info@example.com?Subject=test' (or whatever I desire, really) and the simulator then proceeds to open the Apple Mail Client with the specified parameters.

BUT, in my app when using the line:

    OpenURL('mailto:info@example.com?Subject=test');

Well, nothing happens. I can replace the MailTo text with a web address such as, StackOverflow.com, and it works perfectly fine, but just doesn't when attempting to open the mail client.

Using Delphi Xe4, developing an app for iOS. Using the Apple.Utils framework provided with the Delphi Samples.

Am I missing anything? Or is there an easier way to open the mail client?

preguntado el 09 de septiembre de 13 a las 21:09

1 Respuestas

No one responded. There was an easier way - using an action sheet to perform the same sharing functionality that we see in just about all Apple software products. It is located in an example in the Delphi Samples. You can send text, email, etc. etc. Also can attach pictures.

Hint: The share feature functionality does not work in the simulator but does actually work on devices.

Respondido el 25 de Septiembre de 13 a las 20:09

No es la respuesta que estás buscando? Examinar otras preguntas etiquetadas or haz tu propia pregunta.