Mailgun.js

A javascript sdk for Mailgun built with webpack, babel & es6.


For this demo to work, you'll need to install and run `http-proxy` locally. Install it with:

npm install -g http-proxy

then run the following command:

http-server -p 4001 --proxy="https://api.mailgun.net"

then load up this page from 0.0.0.0:4001/examples/

Last but not least, enter your Mailgun private key below and click create client to fetch the domains for your account.

Email example


Use the following in the html section:
<img src="cid:{{f.name}}" width="200px">

{{f.name}}

Response:

{{ response | json }}