mailtool
A Wrapper around nodemailer and browserbox, which reads configuration from cson files.
Last updated 5 years ago by klorenz .
ISC · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install mailtool 
SYNC missed versions from official npm registry.

Mailtool

This is a mail tool, which brings together nodemailer for sending and browserbox for recieving mails and you can store configurations for both in a common configfile. Passwords are stored in external files, which are referenced in config.

Configuration

Configuration brings together configuration of NodeMailer (in transport section) and browserbox (in mailbox section).

Example:

Default configuration resides in ~/.mailtool/config.cson. Paths to passwords are relative to config file.

Private:
	mailbox:
		type: 'imap'
		host: 'some.cool.host'
		port: 993
		secure: true
		auth:
			user: 'donald'
			pass: "passwords/Private-mailbox-auth"

Business:
	transport:
		host: 'smtp.entenhausen.com'
		port: 465
		auth:
			user: 'phantomas'
			pass: "passwords/Business-transport-auth"
		secure: true
		rejectUnauthorized: false

	mailbox:
		type: 'imap'
		host: 'imap.entenhausen.com'
		port: 993
		secure: true
		auth:
			user: 'phantomas'
			pass: "passwords/Business-mailbox-auth"

	dailyReport:
		from: "Phantomas <phantomas@entenhausen.com>"
		subject: "Daily Report"
		to: "news@entenhausen.com"

	default:
		from: "Phantomas <phantomas@entenhausen.com>"

		signature: """
			Phantomas
			World Saviour

			Entenhausen
		"""

Current Tags

  • 0.3.2                                ...           latest (5 years ago)

15 Versions

  • 0.3.2                                ...           5 years ago
  • 0.3.1                                ...           5 years ago
  • 0.3.0                                ...           5 years ago
  • 0.2.1                                ...           5 years ago
  • 0.2.0                                ...           5 years ago
  • 0.1.5                                ...           5 years ago
  • 0.1.4                                ...           5 years ago
  • 0.1.3                                ...           5 years ago
  • 0.1.2                                ...           5 years ago
  • 0.1.1                                ...           5 years ago
  • 0.1.0                                ...           5 years ago
  • 0.0.3                                ...           5 years ago
  • 0.0.2                                ...           5 years ago
  • 0.0.1                                ...           5 years ago
  • 0.0.0                                ...           5 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 15
Dependencies (17)
Dev Dependencies (0)
None
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |