snd-ema

- **mail server config** ``` vi son/conf.json write your mail server config.

Usage no npm install needed!

<script type="module">
  import sndEma from 'https://cdn.skypack.dev/snd-ema';
</script>

README

send email with nodemailer

  • mail server config
vi son/cnf.json
write your mail server config.

{
"HOST": "myhost.com",
"USR": "info@myhost.com",
"PSS": "mypss"
}

  • mail subject and message
vi son/ema.json
{
"sub":"subject",
"mes":"body"
}

  • required modules
nodemailer