We are writing an application in Delphi XE2/Firemonkey for IOS (to run on an IPad) We need to be able to create an email witn an attachment from within the application. We have tried to use the Indy components but they do not work on IOS. Is there anyway we can do this in Delphi or do we have to resort to writing the app in Xcode?
Indy doesn't work on iOS. See this SO question.
There's a thread on the Embarcadero Delphi Firemonkey forums about this very topic. In it, it's suggested you use the iOS MessageUI framework, and refers to this SO question for an example.
Sending an email from an iOS FireMonkey application
http://blogs.embarcadero.com/ao/2011/10/04/39133
Delphi xe4 has all Indy components working both win32 /iOS platform.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With