morse 0.2.0

morse 0.2.0

Maintained by Albert Yu.



morse 0.2.0

  • By
  • albert-yu

Morse

C library for sending and receiving emails.

CI Status Version License Platform

Installation

morse is available through CocoaPods. To install it, simply add the following line to your Podfile:

pod 'morse'

Building (macOS)

Dependencies

These are in the lib/ folder.

Compile

libcurl has headers included, but libsodium's headers need to be made available through an install.

brew install libsodium

Then, with GNU Make, just run

make

Usage

The main API functions are declared morse.h. See main.c for example usage.

To-do list

  • Use configuration file
  • Implement caching
  • Clean up API design
    • User should get all top-level API functions just by reading morse.h.
  • Get user email from token
  • Make method names more unique to avoid naming conflicts (prefix with _)

IMAP

  • Generate command tags to prefix each command (e.g. "A004")
  • Use the IDLE command to get push notifications
  • Support multiple recipients

Compilation

  • Compile to static library
  • Compile to debug
  • Add separate morse.h header for API
  • Cross-platform compile
    • macOS
    • Linux
    • Windows
  • Do not depend on environment for availability of dependencies

License

morse is available under the MIT license. See the LICENSE file for more info.