diff options
author | Adam Carpenter <atc@53hor.net> | 2020-03-15 21:29:22 -0400 |
---|---|---|
committer | Adam Carpenter <atc@53hor.net> | 2020-03-15 21:29:22 -0400 |
commit | cac6c323efe0e2633692a9ee182122d08a526fd3 (patch) | |
tree | 1336a190680613e9196a3f8041044435d24c4947 /src/js/send-mail.js | |
parent | 7a191606cbf5cd290dad1f89cc6f007a87b40231 (diff) | |
download | carpentertutoring-cac6c323efe0e2633692a9ee182122d08a526fd3.tar.xz carpentertutoring-cac6c323efe0e2633692a9ee182122d08a526fd3.zip |
major changes to index, started email sender
Diffstat (limited to 'src/js/send-mail.js')
-rw-r--r-- | src/js/send-mail.js | 15 |
1 files changed, 15 insertions, 0 deletions
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) +// ); +} |