1.0.2 • Published 5 years ago

noodlemail v1.0.2

Weekly downloads
-
License
-
Repository
github
Last release
5 years ago

noodlemail

Overview

This package is just a wrapper around nodemailer that is setup for sending emails using gmail SMTP.

Usage

// app.js
import NoodleMailClient from 'noodlesmail'

const mailClient = new NoodleMailClient({
  "user": "exampleEmailAddress",
  "pass": "examplePassword"
})

mailClient.setFrom('exampleFromAddress@gmail.com')
mailClient.setTo('exampleToAddress@gmail.com')

const subject = 'ExampleSubject'
const body = 'ExampleBody'

async function main() {
  await sender.sendMail(subject, body)
}

main()
1.0.3

5 years ago

1.0.2

5 years ago

1.0.1

5 years ago

1.0.0

5 years ago