sammyb123 sammyb123 - 1 month ago 4
JSON Question

How to email a parsed JSON using a script

I have a script that gets and parses a JSON, I want to email the JSON values directly from the script when the page loads. I already have everything set up but do not know the best approach about doing this. I usually use forms to send information but this is a little different.

I am not looking for someone to hold my hand and show me how, I just want to know the different options and I can figure it out myself.

Answer

I don't think there is any native javascript functionality for sending emails. I would use a service like https://www.emailjs.com/ or the Gmail javascript API if it was totally necessary to do this from javascript.

Comments