Latest 0.1.8
Homepage https://github.com/albert-yu/morse
License MIT
Platforms osx 10.14
Frameworks CoreFoundation, Security
Authors

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
  • [x] Clean up API design
    • [x] User should get all top-level API functions just by reading morse.h.
  • [x] Get user email from token
  • [ ] Receive emails
    • [ ] Use the IDLE command to get push notifications
  • [x] Support multiple recipients
  • [x] Compile to static library
  • [ ] Compile to debug
  • [x] Add separate morse.h header for API
  • [ ] Cross-platform compile
    • [x] macOS
    • [ ] Linux
    • [ ] Windows
  • [x] Do not depend on environment for availability of dependencies

License

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

Latest podspec

{
    "name": "morse",
    "version": "0.1.8",
    "summary": "A C library for sending and receiving email.",
    "description": "This email library is designed to be used as a backend for a UI.",
    "homepage": "https://github.com/albert-yu/morse",
    "license": {
        "type": "MIT",
        "file": "LICENSE"
    },
    "authors": {
        "albert-yu": "[email protected]"
    },
    "source": {
        "git": "https://github.com/albert-yu/morse.git",
        "tag": "0.1.8"
    },
    "platforms": {
        "osx": "10.14"
    },
    "requires_arc": false,
    "static_framework": true,
    "frameworks": [
        "CoreFoundation",
        "Security"
    ],
    "source_files": "include/**/*.h",
    "public_header_files": "include/*.h",
    "vendored_libraries": [
        "libmorse.a",
        "lib/libcurl.a",
        "lib/libsodium.a"
    ],
    "libraries": [
        "morse",
        "curl",
        "sodium",
        "ldap",
        "z"
    ],
    "prepare_command": "make cleannmake"
}

Pin It on Pinterest

Share This