0.6.2 • Published 2 years ago

vite-plugin-email v0.6.2

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

vite-plugin-email

version CI

Send emails rendered by Vite and Markdown-It automatically.

Installation

npm i -D vite-plugin-email

You can also install it globally.

npm i -g vite-plugin-email
vmail --version

Usage

Create a new workspace.

vmail init new-workspace
cd new-workspace
npm install

The created workspace contains some config files. data.csv stores the list of receivers and corresponding information. The receiver column specify the email of the receiver. email.md is the email content template to be rendered. You can use {{ ... }} to insert variable from data.csv.

For example, here is data.csv.

receiver,       name
bot@github.com, Bot

Here is email.md.

# Hello {{ name }}

Then the following content will be sent to bot@github.com.

# Hello Bot

You can also start a dev server to preview the content of emails.

vmail dev

If everything is done, send emails with a single command.

vmail

License

MIT License © 2021 XLor

0.6.2

2 years ago

0.6.1

2 years ago

0.6.0

2 years ago

0.5.2

2 years ago

0.5.1

2 years ago

0.5.0

2 years ago

0.4.1

2 years ago

0.4.0

2 years ago

0.3.2

2 years ago

0.3.1

2 years ago

0.3.0

2 years ago

0.2.0

2 years ago

0.1.0

2 years ago

0.0.0

2 years ago