Categories
Mastering Development

Google App Script: Create a list manually

I am trying to create a list of email recipients instead of just one recipient. Then send the email to all these recipients through app inventor. How do I do it? The code below send to only one recipient function contactUsMailer(e) { try { var recipient = “example@gmail.com ” var timestamp = e.values[0]; var name […]

Categories
Development

How to catch error of specific router request before it ends up in global error handler

So my routes are ordered like shown bellow verifyToken middleware is being used in a lot of routes. Generally if an error occurs i want the global error handler of index.js to handle it. But if the error occurred while verifyToken middleware is being used by the login.html route with method = get i would […]