Search code examples
iosemailmailcore

Saving CTCoreMesssage from MailCore


I'm trying to come up with a way to store a local copy of the most recent emails from MailCore's CTCoreMessage so the user can view them locally offline. How would I go about doing this? I've looked into NSCoding but I don't want to rewrite most of MailCore to support it. What are some alternatives?


Solution

  • I Think here is the Solution to your problem.. Have you seen the remail, It is an open source application based on Mailcore in Which local store is creating in the form of SQlite database and .edb files are formed in your Document Directory. As I have done in my application After creation of the Connection with the server all mails are written locally and can work in the offline mode. You can get it from here..

    http://code.google.com/p/remail-iphone/

    For any other assistance related to it,.. ask from me..