From cac6c323efe0e2633692a9ee182122d08a526fd3 Mon Sep 17 00:00:00 2001 From: Adam Carpenter Date: Sun, 15 Mar 2020 21:29:22 -0400 Subject: major changes to index, started email sender --- src/js/send-mail.js | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 src/js/send-mail.js (limited to 'src/js') diff --git a/src/js/send-mail.js b/src/js/send-mail.js new file mode 100644 index 0000000..a43dbd2 --- /dev/null +++ b/src/js/send-mail.js @@ -0,0 +1,15 @@ +const function sendMail() { + console.log("BLARGH"); + const $form = Array.prototype.slice.call(document.querySelectorAll('#contact-form'), 0); + console.log(form); + +// Email.send({ +// SecureToken : "12ef64f4-0d3e-4d4c-8336-eef6b89645f1", +// To : "amy@carpentertutoring.com", +// From : "", +// Subject : "Carpenter Tutoring Inquiry", +// Body : "" +// }).then( +// message => alert(message) +// ); +} -- cgit v1.2.3