bennn / racket-mutt

Racket API for the Mutt email client
Other
3 stars 1 forks source link

racket-mutt

Build Status Scribble

Racket mutt API. Installing this package helps setup mutt. Then you can send emails:

#lang racket/base
(require mutt)

(mutt "Listen, Boy"
      #:subject "My First Love Story"
      #:to "geegeegeegee@baby.baby")

NOTE: this package does not currently support Windows systems.

Install

First install the free mutt email client. It's on Homebrew and your local Linux package manager.

Second, install this package from the Racket package server

$ raco pkg install mutt

or Github (the ./ is necessary).

$ git clone https://github.com/bennn/racket-mutt
$ raco pkg install ./racket-mutt

When prompted, enter your email address and real name.

API

See the documentation for more: http://docs.racket-lang.org/mutt/index.html

FAQ

Q. Can I accept certificates on the command line?

No. Run mutt on the command line to manually approve certificates. (Make sure to "always accept" the certificate.)