strider-mailer

0.2.2 • Public • Published

Strider Mailer

This allows mail to be sent using the mail server configured within Strider.

Usage

var mailer = require('strider-mailer')(striderConfigObject)
mailer.send(to, subject, textBody, htmlBody)

Methods

Other than the main send function, there are a couple of conveniance methods for formatting various output to be sent within the email

#elapsed_duration(startTimeInSeconds, endTimeInSeconds)

Formats the test duration to a nice format e.g 1m 23s

#format_std(stdOutput, formatType)

Formats the test output. FormatType can be of either 'html' or 'plaintext'

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 0.2.2
    7
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 0.2.2
    7
  • 0.2.1
    1
  • 0.2.0
    0
  • 0.1.0
    0
  • 0.0.0
    0

Package Sidebar

Install

npm i strider-mailer

Weekly Downloads

8

Version

0.2.2

License

MIT

Last publish

Collaborators

  • oliversalzburg
  • knownasilya
  • niallo
  • microadam