SMTP protocol handler for friendpipe
JavaScript
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.gitignore
README.md
index.js
package.json

README.md

friendpipe-protocol-mailto

SMTP email support for friendpipe.

Installation

First, ensure friendpipe is installed. Then:

$ npm install -g friendpipe-protocol-mailto

Configuration

$ friend set mailto.from jason@onehackoranother.com
$ friend set smtp.service Gmail
$ friend set smtp.username example@gmail.com
$ friend set smtp.password XXXXXXX

Now you can add some friends' email addresses:

$ friend add bob mailto:bob@example.com
$ friend add alice mailto:alice@example.com

Supported configuration keys

Configure these with $ friend set key value.

  • mailto.from: from address
  • smtp.service: preconfigured SMTP service, such as Gmail or Hotmail. See Nodemailer documentation for further information
  • smtp.username: auth username.
  • smtp.password: auth password. Warning: currently stored as cleartext!

The following options are not required if using a preconfigured service via the smtp.service option.

  • smtp.host
  • smtp.port
  • smtp.use-ssl
  • smtp.ignore-tls
  • smtp.domain