dwyl / sendemail

💌 Simplifies reliably sending emails from your node.js apps using AWS Simple Email Service (SES)
181 stars 26 forks source link

env2 devDependency can cause problems #51

Closed franzmoro closed 7 years ago

franzmoro commented 7 years ago

Description

As currently implemented, the lib/index.js requires 'env2', which does not get installed together with the "sendemail" module.

If the repo is using an env variable technique different from env2, then the sendEmail function will either crash or require a manual npm install of env2.

Possible solutions

nelsonic commented 7 years ago

@franzmoro agreed. Please PR. thanks! 👍