sendstack

Uses an SMTP server to send emails.

Usage no npm install needed!

<script type="module">
  import sendstack from 'https://cdn.skypack.dev/sendstack';
</script>

README

SendStack

send command

Uses an SMTP server to send emails.

First, set some environment variables:

SENDSTACK_DOMAIN=smtp.example.com
SENDSTACK_USER=postmaster@example.com
SENDSTACK_PASS=<your-smtp-password>
SENDSTACK_FROM=you+bash@example.com

Soon you'll be able to send through SendStack's servers.

Examples:

send --to=test@example.com 'Hello there!' <<-END
  Sending a test email!
END