mailgun-tiny
v1.0.1
Published
A tiny module to send mails via mailgun
Downloads
2
Readme
#Mailgun send My approach to a tiny mailgun sender wrapper using zero dependencies.
Install
npm i mailgun-tiny
Usage
const domain = 'example.com';
const apiKey = 'api-ofsjhdf971h2orjwer';
const sendMail = require('mailgun-tiny')(domain, apiKey);
sendMail({
from: '[email protected]',
to: '[email protected]',
subject: 'Hey there',
text: 'How are you doing?'
});
Thats it.
xoxo