This script is used to send bulk emails with attachment for the core team members in DSC SASTRA Deemed to be University. This script may not be the best one, still it works fine.
Note:
Google Apps Script is a JavaScript cloud scripting language that provides easy ways to automate tasks across Google products and third party services and build web applications (definition from here.) Code.js is the same file you see in the App Script Console as Code.gs.
- Create a Spreadsheet and fill the columns
- Create a Script Project from same Spreadsheet
- Copy the code from Code.js into Code.gs (in App Script Console) and the email_template.html
- Upload the certificates into CoreTeamCertificates folder in the Google Drive
- Run the app script, and give the permission required
- Run the app script from the spreadsheet
- Output
This script works on a spreadsheet with the columns as specified in the below image.
Click Script Editor from Tools Menu a new tab opens up with a new app script project.
Create a new folder CoreTeamCertificates in your Google Drive and upload all the genrated certificates there. Certiface generation is not handled in this project.
Click Send Certificates from Automation Menu
Make sure that you run the function onOpen() so that you can see the Automation Menu.