Hello everyone!

This is my first post Please be so kind to point me in the right direction.

Using the official iPhone SDK, I am trying to show the compose email screen not only with a subject and body fields, but also with an attached PDF file that I generated. I know that many apps available in the Installer.app can do that, but can the SDK do that as well?

Generating a mailto URL doesn't seem to be the answer since the RFC 2368 doesn't support attachments as far as I understand. All my attempts to hard-code a mailto URL that could trick the Mail application into composing a message with an attachment have failed...

Could you give me a hint or maybe copy paste some code to help me with attaching files to emails?

Thank you so much in advance,