Sendmail-via-http is a project mainly written in Haskell, it's free.
helper tool to send mail
An easy way to send mail via http GET/POST request
Usage:
curl http://localhost:8000/mailto/<email>/<subject> -d "<content>"
e.g.
curl http://localhost:8000/mailto/[email protected]/Hello -d "Hello sendmail-via-http"