1.0.1 • Published 7 years ago

@tradle/bot-inviter v1.0.1

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

@tradle/bot-inviter

A bot that invites people to confirm their email address. This is what people do now.

Usage

Install

yarn add https://github.com/tradle/bot-inviter

In code / Console

const inviter = require('@tradle/bot-inviter')
bot.use(inviter, {
  // the account from which to send emails to users
  service: 'gmail',
  user: 'mark@tradle.io',
  pass: 'no really, this is my password',
  // notify this guy when a user confirms their email
  inviterEmail: 'someone@somewhere.cool',
  // confirmation emails sent to users will link back to your server
  host: 'localhost',
  port: 8000
})