For those interested, this is how I went about sending an email from a javascript script. I used NodeJS to process the javascript. I used the mailer module (node_mailer) to send the email through SMTP. I used the SendGrid SMTP service.
For those interested, this is how I went about sending an email from a javascript script. I used NodeJS to process the javascript. I used the mailer module (node_mailer) to send the email through SMTP. I used the SendGrid SMTP service.