sendgrid-nodejs
sendgrid-nodejs copied to clipboard
The Official Twilio SendGrid Led, Community Driven Node.js API Library
 ### Snyk has created this PR to fix 1 vulnerabilities in the npm dependencies of this project. #### Snyk changed the following file(s): - `packages/subscription-widget/package.json` #### Vulnerabilities that will...
Hi, all. I would like to set custom arguments in the request using the Node.js SDK and receive them in the Event Webhook, but I'm unable to receive them correctly....
``` Error: connect EMFILE 34.255.83.252:443 - Local (undefined:undefined) at internalConnect (node:net:1100:16) at defaultTriggerAsyncIdScope (node:internal/async_hooks:462:18) at GetAddrInfoReqWrap.emitLookup [as callback] (node:net:1381:9) at GetAddrInfoReqWrap.onlookup [as oncomplete] (node:dns:109:8) { errno: -24, code: 'EMFILE', syscall:...
Please provide a simple wrapper function to `@sendgrid/mail/src/classes/mail-service.js` file with implementation along these lines: ```js setDataResidency(region) { this.client.setDataResidency(region); return this; } ``` That would greatly simplify the approach to work...
# Fixes # As mentioned in [axios's example](https://axios-http.com/docs/example), in order to use axios with types (which a lot of people are now doing), the `.default` import needs to be used....
Given a service that uses `@sendgrid/mail` and a few other things, I'd like its logger output to be consistent, to make it easier to consume, aggregate, and send to a...
I just found out about this, first I thought that it is mistake on my side, but after a while of debugging I got to a point that it is...
## Problem There's a type inconsistency in the Mail class regarding `replyToList`: Type Definition suggests both formats are valid: https://github.com/sendgrid/sendgrid-nodejs/blob/2bac86884f71be3fb19f96a10c02a1fb616b81fc/packages/helpers/classes/mail.d.ts#L168 But, Runtime Validation enforces array-only: https://github.com/sendgrid/sendgrid-nodejs/blob/2bac86884f71be3fb19f96a10c02a1fb616b81fc/packages/helpers/classes/mail.d.ts#L372 https://github.com/sendgrid/sendgrid-nodejs/blob/2bac86884f71be3fb19f96a10c02a1fb616b81fc/packages/helpers/classes/mail.js#L679 ## Impact This...
Hello, So I've been having trouble sending "big" amounts of mails at the same time with sendgrid. When sending 200 Mails or more, sendgrid will only send a certain amount...