1.0.15 • Published 4 years ago

noodlesmail v1.0.15

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

noodlesmail

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.15

4 years ago

1.0.14

4 years ago

1.0.13

4 years ago

1.0.12

4 years ago

1.0.11

4 years ago

1.0.10

4 years ago

1.0.9

4 years ago

1.0.8

4 years ago

1.0.7

4 years ago

1.0.6

4 years ago

1.0.5

4 years ago

1.0.4

4 years ago

1.0.3

4 years ago

1.0.2

4 years ago

1.0.1

4 years ago

1.0.0

4 years ago