Sendgrid Provider and Proxy

System Information
  • Strapi Version: 4.25.7
  • Operating System: NA
  • Database: Postgres
  • Node Version: 18
  • NPM Version: 6
  • Yarn Version: NA

I need my Sendgrid API requests to come from a specific IP address. How can I configure my Strapi Email Sendgrid Provider to use this proxy?

2024-12-10T13:36:21.995372+00:00 app[web.1]: [2024-12-10 13:36:21.994] e[31merrore[39m: Unauthorized
2024-12-10T13:36:21.995375+00:00 app[web.1]: Error: Unauthorized
2024-12-10T13:36:21.995376+00:00 app[web.1]: at node_modules/@sendgrid/client/src/classes/client.js:146:29
2024-12-10T13:36:21.995377+00:00 app[web.1]: at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
2024-12-10T13:36:21.996581+00:00 app[web.1]: [2024-12-10 13:36:21.996] e[32mhttpe[39m: POST /api/auth/forgot-password (306 ms) 500

Hi Erik, As per knowledge paid API like twillo and sendgrid admin have option to select IP address for which emails would be sent. Please check it