Subscribe to a mailgun backed mailing list via a web interface.
Build subgun using the build script:
./build
Configure subgun by copying config.json.tmpl to config.json and adding in your hostname and mailgun API key. Then run subgun:
cp config.json.tmpl config.json
vim config.json
./subgun config.json
POST to the subscribe URL. See subscribe.html
or do it with curl:
curl http://localhost:8080/subscribe/[email protected] -d "[email protected]"
This will email [email protected]
with a confirmation email with a URL that
contains a secret token. Clicking on the link will change the subscription
status to "Subscribed".
For now use the native workflow in Mailgun.
http://gmane.org/subscribe.php
- Already subscribed user error message instead of user error
- Cleanup HTTP handling