sendgrid-nodejs icon indicating copy to clipboard operation
sendgrid-nodejs copied to clipboard

Add `setDataResidency` method to @sendgrid/mail default export

Open kostia1st opened this issue 4 months ago • 1 comments

Please provide a simple wrapper function to @sendgrid/mail/src/classes/mail-service.js file with implementation along these lines:

  setDataResidency(region) {
    this.client.setDataResidency(region);
    
    return this;
  }

That would greatly simplify the approach to work with your new region feature for a lot of folks without the need to introduce any new dependencies into their projects.

kostia1st avatar Jul 22 '25 09:07 kostia1st