rittenhop-dev/versions/5.94.2/node_modules/nodemailer-shared
2024-09-23 19:40:12 -04:00
..
lib first commit 2024-09-23 19:40:12 -04:00
test first commit 2024-09-23 19:40:12 -04:00
.eslintrc.js first commit 2024-09-23 19:40:12 -04:00
.npmignore first commit 2024-09-23 19:40:12 -04:00
.travis.yml first commit 2024-09-23 19:40:12 -04:00
Gruntfile.js first commit 2024-09-23 19:40:12 -04:00
LICENSE first commit 2024-09-23 19:40:12 -04:00
package.json first commit 2024-09-23 19:40:12 -04:00
README.md first commit 2024-09-23 19:40:12 -04:00

nodemailer-shared

Shared methods for the Nodemailer stack.

Methods

  • parseConnectionUrl(str) parses a connection url into a nodemailer configuration object
  • getLogger(options) returns a bunyan compatible logger instance
  • callbackPromise(resolve, reject) returns a promise-resolving function suitable for using as a callback
  • resolveContent(data, key, callback) converts a key of a data object from stream/url/path to a buffer

License

MIT