Socket
Socket
Sign inDemoInstall

@skyring/smtp-transport

Package Overview
Dependencies
3
Maintainers
3
Versions
2
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @skyring/smtp-transport

SMTP based transport for skyring


Version published
Weekly downloads
0
decreased by-100%
Maintainers
3
Created
Weekly downloads
 

Readme

Source

skyring-smtp-transport Build Status

SMTP Transport for node-skyring

The smtp transport exposes a configurable transport function. As a result, it must be manually passed to a skyring server, and cannot be auto loaded. Environment variables can also be used to configure the transport instead of passing configuration in directly

const Skyring = require('skyring')
const SMTP = require('@skyring/smtp-transport')

new Skyring({
  seeds: ['localhost:3456']
, node: {host: 'localhost', port: 3456}
, transports: [ SMTP({ host: 'smtp.mail.com', port: 578 }) ]
})

Available Environment Variables

VariableUsabageExample
SKYRING_SMTP_PORTport of smtp server to connect to25
SKYRING_SMTP_HOSThost name or ip of the smtp serversmtp.mailserver.com
SKYRING_SMTP_AUTHMETHODauth method to login with'PLAIN'
SKYRING_SMTP_USERsmtp login user name'username'
SKYRING_SMTP_PASSsmtp login password'password'

Keywords

FAQs

Last updated on 06 Sep 2017

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc