0.0.1 • Published 9 months ago
mailsend v0.0.1
MailSend ✉️
Sends e-mail just by visiting a URL. \ https://developers.cloudflare.com/email-routing/email-workers/send-email-workers/
Installation
npm install -g mailsend
CLI Usage
MailSend -e example@account.com -i accountId -k accountKey
Options
-V, --version output the version number
-e, --Email <Email> Cloudflare Account E-mail.
-i, --ID <ID> Cloudflare Account ID.
-k, --Key <Key> Cloudflare API key.
-h, --help display help for command
Worker
You can also publish it as a worker:
wrangler publish
Script
Source/Index.ts
import Delete from "mailsend";
await Delete(Email, ID, Key);
.env
Email="example@account.com";
ID="accountId";
Key="accountKey";
Changelog
See CHANGELOG.md for a history of changes to this utility.