Skip to content
javamail/markdown tricks
Find file
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.


stupid markdown/javamail tricks

Create a ~/.mellrc

This is almost exactly the properties object passed to javamail's Session.getInstance, except can include a password and is a clojure map.

See mellrc.sample for an example.

# type a mail in markdown using $EDITOR and send it
# the markdown will be sent as the text/plain part
$ lein run compose
# type a mail in markdown using $EDITOR and save it to [Gmail]/Drafts IMAP folder
$ lein run draft

dependencies that aren't magic

  • pygments
  • kramdown
Something went wrong with that request. Please try again.