Morse
C library for sending and receiving emails.
Installation
morse is available through CocoaPods. To install
it, simply add the following line to your Podfile:
pod 'morse'Building (macOS)
Dependencies
- 
libcurl7.56.0 or above for HTTP requests
- 
libsodiumfor cryptography
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 libsodiumThen, with GNU Make, just run
makeUsage
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.
 
-  User should get all top-level API functions just by reading 
- 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.hheader 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.