Giter VIP home page Giter VIP logo

mailcore's Introduction

 __    __     ______     __     __         ______     ______     ______     ______    
/\ "-./  \   /\  __ \   /\ \   /\ \       /\  ___\   /\  __ \   /\  == \   /\  ___\   
\ \ \-./\ \  \ \  __ \  \ \ \  \ \ \____  \ \ \____  \ \ \/\ \  \ \  __<   \ \  __\   
 \ \_\ \ \_\  \ \_\ \_\  \ \_\  \ \_____\  \ \_____\  \ \_____\  \ \_\ \_\  \ \_____\ 
  \/_/  \/_/   \/_/\/_/   \/_/   \/_____/   \/_____/   \/_____/   \/_/ /_/   \/_____/ 

##Getting the code

First checkout the code and pulldown the required dependencies as submodules:

git clone https://github.com/mronge/MailCore.git
cd MailCore/
git submodule init
git submodule update

Now open up MailCore.xcodeproj and build either the iOS static library or the Mac OS X framework depending on your needs.

##Website

The official site contains documentation, FAQs, and step by step instructions on how to include MailCore

http://www.libmailcore.com

Migrating to Version 1.0

The latest version of MailCore is no longer backwards compatible with earlier versions. I tried to keep backwards compatibility, but it became too complex, sorry :(

The biggest change is that exceptions are no longer used. Instead each method either returns a BOOL or an object that can be checked for success. If an error occurs each object has a - (NSError *)lastError method that can be consulted.

Here are a list of major changes:

  • The method - (int)fetchBody has been renamed to - (BOOL)fetchBodyStructure
  • The methods messageObjectsFromIndex:toIndex: and messageListWithFetchAttributes: have both been removed. They've been replaced by the new and improved messagesFromSequenceNumber:to:withFetchAttributes: and messagesFromUID:to:withFetchAttributes:. Please see the header file CTCoreFolder.m for details.
  • NSException is no longer used, instead NSError is used.
  • A CTCoreMessage's to, from, sender, bcc, cc, and subject values are nil when they have not been downloaded or message doesn't have them
  • Message UIDs are now NSUIntegers instead of NSStrings
  • - (BOOL)isUIDValid:(NSString *)uid has been removed. Instead check your uid validity value manually

Thanks,

Matt Ronge

mailcore's People

Contributors

mronge avatar devstator82 avatar holtwick avatar iacobrazvan avatar vasiabikeru avatar lyonanderson avatar ghdk avatar henningj avatar jdg avatar jwilling avatar rgigger avatar

Watchers

James Cloos avatar Mihai Nadăș avatar  avatar Răzvan Dragomir avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.