summaryrefslogtreecommitdiffstats
path: root/lib
Commit message (Collapse)AuthorAgeFilesLines
* Convert response data to have valid json objectsHugo Durães2016-10-131-0/+2
|
* Fill 'response' property in error instanceGuilherme Souza2016-09-191-0/+1
| | | | | This makes the behavior when using callbacks consistent with the promise counterpart
* Optimise the throttle to send items as soon as possibleTom Kirkpatrick2016-08-221-4/+17
|
* Add contact-importer helperTom Kirkpatrick2016-08-221-0/+133
|
* Make SendGrid a factory that enables multiple prototype instancesTom Kirkpatrick2016-08-221-37/+42
|
* Make sure Promise is definedorigin/let-vs-varElmer Thomas2016-08-021-1/+6
|
* Backwards compatibility fixElmer Thomas2016-08-021-1/+1
|
* Avoid `this` referenceAdam Buczynski2016-08-031-4/+4
|
* Remove redundant .SendGrid export, update readme examplesAdam Buczynski2016-07-281-9/+13
|
* Doc commentsAdam Buczynski2016-07-271-4/+12
|
* Add helpersAdam Buczynski2016-07-271-11/+32
|
* Move dep to top, remove duplicateAdam Buczynski2016-07-271-11/+10
|
* Merge branch 'eslint' into callback-function-signatureAdam Buczynski2016-07-271-0/+5
|\
| * Use get empty request helperAdam Buczynski2016-07-271-5/+8
| |
* | New APIAdam Buczynski2016-07-272-8/+69
|/
* Add ESLint configuration and fix issuesAdam Buczynski2016-07-272-498/+502
|
* Version Bump v3.0.10: Fix substitutions typo in Mail Helperv3.0.10Elmer Thomas2016-07-231-5/+5
|
* Version Bump v3.0.6: Accept Headerv3.0.6Elmer Thomas2016-07-011-0/+1
|
* Version Bump v3.0.3: Moving mail helper exportElmer Thomas2016-06-141-3/+1
|
* Version Bump v3.0.2: Added mail helperv3.0.2Elmer Thomas2016-06-141-0/+2
|
* Version Bump v3.0.0: full v3 Web API supportElmer Thomas2016-06-131-2/+2
|
* Updated dependency, Content-Type now set automaticallyElmer Thomas2016-06-101-1/+0
|
* Fix copy by reference issueElmer Thomas2016-06-081-3/+3
|
* Update sendgrid-rest dependencyElmer Thomas2016-06-081-3/+7
|
* Simplified setting the request objectElmer Thomas2016-06-081-3/+4
|
* Ready to deployElmer Thomas2016-05-102-4/+4
|
* Ready for BetaElmer Thomas2016-05-101-16/+15
|
* Preparing for launchElmer Thomas2016-05-065-549/+967
|
* added smtpapi add and set tosTushar Bhushan2015-10-071-0/+10
|
* changed the cc/bcc to use the web api; change potentially breakingTushar Bhushan2015-09-091-2/+2
|
* Add the setFromName method to the email.js class.jbeoris2015-07-041-0/+4
|
* Add 'return this' for setter method chainingpiyo72015-06-131-0/+28
|
* Add missing bcc methodsEddie Zaneski2015-05-061-0/+8
|
* Add support for API keysEddie Zaneski2015-04-221-8/+32
|
* Adds ASM Group ID SMTPAPI Header setterRobert Acosta2015-02-031-0/+4
|
* Fix: The date is not sentSorin Baba2014-12-171-2/+6
|
* Added the ability to schedule the sendSorin Baba2014-12-101-0/+12
|
* Fix conflicts and lintingelbuo82014-12-091-0/+10
|\
| * Added support for CCSorin Baba2014-12-081-0/+10
| |
* | Fixed: addUniqueArg method is not handle correctly the unique args additionSorin Baba2014-12-081-2/+2
|/
* Makes addSection accept correct parameters.Ben Neal2014-10-211-2/+2
| | | | | addSection should accept a key and value rather than object_literal in line with the smtpapi api.
* expose & document smtpapiNick Quinlan2014-08-111-0/+2
| | | | closes #125
* Add useragentEddie Zaneski2014-07-151-1/+4
|
* added ability to change uri via optionsNick Quinlan2014-06-231-3/+16
| | | | | | | | | | this brings the library in line with: https://github.com/scottmotte/sendgrid-opensource-proposals/blob/master/proposals/PORT.md as this uses parameters that also could be used by request, this may cause problems with those using the protocol parameter (however, I believe that any use of the protocol parameter in the past, would not have worked, anyway)
* Update to latest smtpapi nodejs libscottmotte2014-05-282-43/+3
|
* addHeader use key, value approach to match up with other librariesscottmotte2014-02-171-3/+11
|
* Change to using API url. Pull request #112scottmotte2014-02-091-1/+1
|
* Follow same naming scheme - addHeader instead of addHeadersscottmotte2013-12-311-6/+6
|
* Get with the latest and greatest smtpapi-nodejs libscottmotte2013-12-301-21/+30
|
* Update to use smtpapi lib - renamed from xsmtpapiscottmotte2013-12-191-2/+2
|
* Cleans upscottmotte2013-12-182-88/+6
|
* Replaces smtpapi_header with xsmtpapi nodejs modulescottmotte2013-12-183-102/+3
|
* SMTP removedscottmotte2013-12-182-103/+2
|
* Fixes Issue #108scottmotte2013-12-101-0/+2
|
* Version bump 0.4.4 - setSubject, setText, setHtmlv0.4.4scottmotte2013-11-071-0/+12
|
* Add the ability to setFromscottmotte2013-11-071-0/+4
|
* Give a more detailed try/catch. return the original bodyscottmotte2013-10-301-0/+2
|
* Fix bcc in smtp. Version bump 0.4.1scottmotte2013-10-301-0/+2
|
* Multiple tos should stay in an array unless using addToscottmotte2013-10-291-10/+2
|
* Fix callbackscottmotte2013-10-291-5/+5
|
* Remove the console.logsscottmotte2013-10-291-4/+1
|
* Even if unused, this is easier to readscottmotte2013-10-291-2/+1
|
* added lodash; fix jshint errors; added jshint; updated package.jsonLeigh Martell2013-10-294-38/+52
|
* Fixed tests and optionsLeigh Martell2013-10-291-6/+11
|
* Add try/catch in very rare scenario of html being returned instead of json. ↵scottmotte2013-10-011-1/+8
| | | | this 90% appears to be because of a timeout blip recently
* Show the error's messageTim Haines2013-09-171-1/+1
|
* Passes port in the options argument on initialization nowscottmotte2013-09-021-3/+4
|
* Cleans up pull request 84. Tests passingscottmotte2013-09-021-23/+18
|
* adding bottom object contextJacob Lowe2013-08-311-15/+13
|
* fixing context and magically invocating functions, also adding also allowing ↵Jacob Lowe2013-08-311-11/+27
| | | | send to map to either smtp or http
* fix no form data added while value in payloads is an arrayRay Shih2013-08-311-1/+7
|
* Merge pull request #75 from timhaines/add-message-idScott Motte2013-08-221-10/+26
|\ | | | | Add optional nodeMailerOptions argument to sendgrid.smtp
| * Add optional nodeMailerOptions argument to sendgrid.smtpTim Haines2013-08-151-10/+26
| |
* | Use built in nodejs ES5 forEach instead of underscore's.scottmotte2013-08-221-1/+1
| |
* | fix #76unvar2013-08-221-4/+3
|/
* Version bump 0.3.0-rc.1.3 - add ability to change port to 465 and send over ↵v0.3.0-rc.1.3scottmotte2013-08-151-3/+11
| | | | ssl. 587 still recommended because some hosts rate limit 465.
* use error object for 'err' callback param for smtpscottmotte2013-08-011-2/+2
|
* use error object for 'err' callback paramRoman Shtylman2013-07-311-2/+2
| | | | | | Error object contain stacktraces and additional information that helps debug potential issues. They are expected as the first argument versus just a string.
* Arrays allowed for to address. This was allowed previous, but only when ↵scottmotte2013-07-271-0/+9
| | | | array was length of 1. Now allows length of however long
* Refactors sendgrid.js to be a bit more standard node module like and updates ↵scottmotte2013-07-234-122/+82
| | | | README
* Additional spec to display errors for smtpscottmotte2013-07-231-1/+1
|
* Swaps out the bits of code to be more node like and sends errors first, then ↵scottmotte2013-07-231-29/+10
| | | | response if success
* Merges in pull request from @shtylman for standard nodejs error handlingscottmotte2013-07-221-9/+27
|\
| * change how REST api errors are handledRoman Shtylman2013-03-221-2/+17
| | | | | | | | | | | | Process the json object into an error object if there are errors. This is more idiomatic for node than to return true | false for the error argument.
* | Check for valuescottmotte2013-07-221-1/+1
| |
* | Remove unusedscottmotte2013-07-221-2/+0
| |
* | Simplify's filehandler a bit to move away from step.jsscottmotte2013-07-222-43/+18
| |
* | Switch to using request, additional specs, and a bit less code by switching ↵scottmotte2013-07-192-181/+89
| | | | | | | | and trusting request to the web api
* | Verion bump 0.2.8 (plus, sanity check for version in tests)v0.2.8scottmotte2013-07-181-0/+2
| |
* | Use stub for integration testsscottmotte2013-07-181-1/+1
| |
* | This is a combination of 2 commits.scottmotte2013-07-182-34/+48
| | | | | | | | Adding tests for smtp. Tests hit real smtp server at the moment
* | Fix broken SMTP cid implementationSwift2013-04-112-2/+2
| |
* | Implement file_object inline property for web/smtp (CID)Robert Jones2013-04-113-0/+11
| | | | | | | | | | | | Includes passing tests and README update. Changed property to "cid" from "inline".
* | Fixed typo in function headerSwift2013-04-111-1/+1
| |
* | Properly handle HTTP errors from sendgridSwift2013-03-251-2/+8
|/ | | | Closes #46
* Web and SMTP api have optional callbacks.Swift2012-10-131-7/+11
| | | | | In case you don't care about the callback for `send` or `smtp`, it is now optional to supply a callback function.
* Updated SMTP functions to use the newest version of the nodemailer API.Mike Swift2012-06-211-10/+15
| | | | | | Nodemailer's API changed recently, so sending via SMTP will be broken for anyone who installs the package in its current state. Also, added a shrinkwrap file to prevent this from happening in the future.
* Added tests for fromname and tonameKav Latiolais2012-05-161-0/+6
| | | | | | | | They may seem a bit pedantic but after making a mistake these tests will catch and then seeing an open pull with the same mistake I'm inclined to overdo it a bit. Also fixed a typo in test.setup
* Added comments for params.Kav Latiolais2012-05-161-0/+2
|
* Add support for fromname and toname to .sendKav Latiolais2012-05-161-0/+6
| | | | | That's about it. Happy to add it to the SMTP API as well once I have a few seconds to review the API structure.