summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKyle Partridge <partkyle@gmail.com>2012-01-16 10:24:05 -0800
committerKyle Partridge <partkyle@gmail.com>2012-01-16 10:24:05 -0800
commit5f085c0d1fe94ed75721f8db332dc92d29c6b9ae (patch)
treeaf36e77e0d4652a052104f5c9ddbff97f1aa0954
parent3e24aa7196232c49dd5de04c6e796ad5978c64e8 (diff)
downloadsendgrid-nodejs-5f085c0d1fe94ed75721f8db332dc92d29c6b9ae.zip
sendgrid-nodejs-5f085c0d1fe94ed75721f8db332dc92d29c6b9ae.tar.gz
sendgrid-nodejs-5f085c0d1fe94ed75721f8db332dc92d29c6b9ae.tar.bz2
removed this test file
-rw-r--r--test.js37
1 files changed, 0 insertions, 37 deletions
diff --git a/test.js b/test.js
deleted file mode 100644
index b1b2a19..0000000
--- a/test.js
+++ /dev/null
@@ -1,37 +0,0 @@
-var SendGrid = require('./lib/sendgrid');
-var Email = require('./lib/email');
-console.log(require('./lib/sendgrid'));
-console.log(SendGrid);
-console.log(Email);
-
-var sender = new SendGrid({api_user: 'siyegen', api_key: 'supermailsforus'});
-var email = new Email({
- to: "whatever@whatmoorawr.com",
- from: 'testy@testerson.com',
- subject: 'Simple mailer ',
- text: 'oh yeah man, for real ✔ 3 tests complete (',
- html: '<b>oh</b> yeah man, for <i>reaaaaaaal</i> ✔ 3 tests complete ('
-});
-
-var x_smtpapi = {};
-
-x_smtpapi.to = ["david.tomberlin@sendgrid.com"];
-email.params["x-smtpapi"] = x_smtpapi;
-email.params["x-smtpapi"].filters = {
- "footer": {
- "settings": {
- "enable": 1,
- "text/plain" : "THIS IS A FOOTERS, for real ✔ 3 tests complete (",
- "text/html" : "THIS IS A FOOTERS \u00a2, for real ✔ 3 tests complete ("
- }
- }
-};
-// console.dir(email.params['x-smtpapi']);
-console.log(email);
-
-sender.smtp(email, function(success, err) {
- if(success) console.log('Email sent');
- else console.log(err);
-});
-
-