orliesaurus / nodemailer-mailgun-transport

nodemailer is an amazing node module to send emails within any of your nodejs apps. This is the transport plugin that goes with nodemailer to send email using Mailgun 🔫
MIT License
880 stars 97 forks source link

Error: Forbidden inside Kubernetes #101

Open WillSquire opened 3 years ago

WillSquire commented 3 years ago

Using this inside of Kubernetes returns Forbidden without any other detail, both locally and on the server cluster. Works inside docker/docker compose. Other services accessing external APIs work. All services have access to the internal (tested with curl). Get the same error using https://github.com/mailgun/mailgun-js/issues/79. Any ideas?

anachronic commented 3 years ago

I'm using it successfully inside a DigitalOcean Kubernetes cluster. Maybe it has something to do with your particular implementation?