Postal – A Swift Library For Working With Common Email Providers

Postal is an open source Swift library from Snips for accessing common e-mail providers.

With Postal you can easily connect to, search through, and fetch e-mails from an e-mail account.

This snippet from the readme shows how to use Postal to connect to an e-mail account:

let postal = Postal(configuration: .icloud(login: "[email protected]", password: "mypassword"))
postal.connect { result in
        switch result {
        case .Success:
            print("success")
        case .Failure(let error):
            print("error: (error)")
        }
}

You can find Postal on Github here.

A nice library for easily working with e-mail in Swift.

Original article: Postal – A Swift Library For Working With Common Email Providers

©2016 iOS App Dev Libraries, Controls, Tutorials, Examples and Tools. All Rights Reserved.

Leave a Reply

Your email address will not be published. Required fields are marked *