Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

send-email-from-bs

Send an email from BS player using a web form and nodemailer running on node server

  1. Download the repo to your PC/Mac
image
  1. Copy the content of the CopytoSDCard folder to a blank SD card
image
  1. Insert the SD card in the player and Power ON the layer

  2. Navigate to the location where you have unzipped the repo and from the terminal enter

npm install

The above step should install all the necessary node_modules that are required based on the content of the package.json file

  1. I would suggest running your first test with Gmail account to send emails. Go to https://nodemailer.com/usage/using-gmail/ for further details on how to get a password for sending emails
  2. Once you have obtained the password for your Gmail account change the user and pass values in the index.js file image

From that point you can install other modules and/or change the code to suit your requirements. when you're ready to build your bundle.js file enter:

npx webpack --config webpack.config.js

This step should generate a new bundle.js file in the dist folder.

You are now ready to upload the bundle.js file to the pluginNodeApp folder using the player DWS or a suitable REST API mechanism.

Restart the autorun.brs or reboot the player to see your updated code running.

About

Send an email from BS player using a web form and nodemailer running on node

Resources

Stars

Watchers

Forks

Releases

Packages

Used by

Contributors

Languages