diff options
author | Adam T. Carpenter <atc@53hor.net> | 2021-06-14 22:11:50 -0400 |
---|---|---|
committer | Adam T. Carpenter <atc@53hor.net> | 2021-06-14 22:11:50 -0400 |
commit | 3df910b359125d35ca71f4e9419b0bd41d56718c (patch) | |
tree | 5820c70c948223d4dcbb329cb05c25b94859a47a /scripts/smtp.js | |
parent | 7a21088226eb6be30e72ec99f695c70e93a76173 (diff) | |
download | carpentertutoring-3df910b359125d35ca71f4e9419b0bd41d56718c.tar.xz carpentertutoring-3df910b359125d35ca71f4e9419b0bd41d56718c.zip |
stripping bulma and cobalt; uneeded at this point
Diffstat (limited to 'scripts/smtp.js')
-rw-r--r-- | scripts/smtp.js | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/scripts/smtp.js b/scripts/smtp.js deleted file mode 100644 index 09b1a0d..0000000 --- a/scripts/smtp.js +++ /dev/null @@ -1,2 +0,0 @@ -/* SmtpJS.com - v3.0.0 */
-var Email = { send: function (a) { return new Promise(function (n, e) { a.nocache = Math.floor(1e6 * Math.random() + 1), a.Action = "Send"; var t = JSON.stringify(a); Email.ajaxPost("https://smtpjs.com/v3/smtpjs.aspx?", t, function (e) { n(e) }) }) }, ajaxPost: function (e, n, t) { var a = Email.createCORSRequest("POST", e); a.setRequestHeader("Content-type", "application/x-www-form-urlencoded"), a.onload = function () { var e = a.responseText; null != t && t(e) }, a.send(n) }, ajax: function (e, n) { var t = Email.createCORSRequest("GET", e); t.onload = function () { var e = t.responseText; null != n && n(e) }, t.send() }, createCORSRequest: function (e, n) { var t = new XMLHttpRequest; return "withCredentials" in t ? t.open(e, n, !0) : "undefined" != typeof XDomainRequest ? (t = new XDomainRequest).open(e, n) : t = null, t } };
\ No newline at end of file |