3.1.3 • Published 5 years ago

the-mail v3.1.3

Weekly downloads
2
License
MIT
Repository
github
Last release
5 years ago

the-mail

Build Status npm Version JS Standard

Mail client for the-framework

Installation

$ npm install the-mail --save

Usage

'use strict'

const theMail = require('the-mail').default

async function tryExample () {
  const mail = theMail({
    service: 'sendgrid',
    key: 'xxxxxxxxxxx'
  })

  await mail.send({
    from: 'the-sender@example.com',
    to: 'the-receiver@example.com',
    subject: 'This is the title',
    content: 'This is the content of the mail'
  })
}

tryExample().catch((err) => console.error(err))

API Guide

License

This software is released under the MIT License.

Links

3.1.3

5 years ago

3.1.2

6 years ago

3.1.1

6 years ago

3.1.0

6 years ago

3.0.1

6 years ago

3.0.0

6 years ago

2.1.0

6 years ago

2.0.3

7 years ago

2.0.2

7 years ago

2.0.1

7 years ago

2.0.0

7 years ago

1.0.2

7 years ago

1.0.1

7 years ago

1.0.0

7 years ago