Reinhard
Reinhard

Reputation: 1746

reading the inbox of iphone email

I want to transfer data from my desktop pc/mac to my iphone app. To do so I think, that email is a good way. Workflow: MAC sends email with data, iphone received email, application read the email (and the attached data) and works with it.

So now I search for a way to access (read only) the email inbox of the iphone via cocoa. Is there any framework to to so?

Upvotes: 0

Views: 693

Answers (2)

Stephen Darlington
Stephen Darlington

Reputation: 52565

Nope, in general it's not possible for one application to access the data of another in iOS.

A few options:

  • Put a web server on either the desktop or iPhone and download/upload the data
  • Use a public web-service to (temporarily) host the data
  • Encode the data as a URL and send that by email. Then the user would press the link which would start your app and import the data
  • Allow the user to copy data over to the Documents directory of your application (iTunes file sharing). This is how Apple does it in Pages, Keynote, etc.
  • DropBox (which has an API available)

Upvotes: 2

Felix
Felix

Reputation: 35394

As I know there's no such a framework in iOS SDK 4.2. You can only send emails within the app (In-App-Mail).

Upvotes: 0

Related Questions