kumarabhirup / bulk-mail-cli

Do quick, hassle-free email marketing with this small but very powerful tool! 🔥
https://bulkmail.now.sh
GNU General Public License v3.0
123 stars 24 forks source link

General Question: How to include EMAIL and PASSWORD inside an .env file #38

Open inglesuniversal opened 2 years ago

inglesuniversal commented 2 years ago

So that it is NOT required when running the code nor it is hardcoded inside the json file

Best regards

kumarabhirup commented 2 years ago

Not sure if we support a .env file out of the box, but this may help: https://github.com/kumarabhirup/bulk-mail-cli#send-the-mail-

You can cat .env and dynamically prefix its output to the bulkmail command I guess.

Lemme know when it works.