bulk-mail-cli icon indicating copy to clipboard operation
bulk-mail-cli copied to clipboard

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

Open inglesuniversal opened this issue 3 years ago • 1 comments

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

Best regards

inglesuniversal avatar Apr 17 '22 12:04 inglesuniversal

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.

kumarabhirup avatar Apr 18 '22 15:04 kumarabhirup