nodemailer-shared
Shared methods for the Nodemailer stack.
Methods
parseConnectionUrl(str)
parses a connection url into a nodemailer configuration objectgetLogger(options)
returns a bunyan compatible logger instancecallbackPromise(resolve, reject)
returns a promise-resolving function suitable for using as a callbackresolveContent(data, key, callback)
converts a key of a data object from stream/url/path to a buffer
License
MIT