Oh man, I did that at a midsize company as a jr. That’s a right of passage. Informing millions of people that you’re shit at testing. That was a fun conversation with my boss
Email is kind of hard. There’s usually only one API key to the email client, and there’s no real safe way to call it. Personally over the years my approach is to have an internal library that reads what environment it is in, and then if it doesn’t explicitly tell that it’s in prod, it reroutes everything to safe email addresses.
Oh man, I did that at a midsize company as a jr. That’s a right of passage. Informing millions of people that you’re shit at testing. That was a fun conversation with my boss
Rite
Your right 👍
Rite
No you
I think it’s a senior developer mistake. Even at midsized company developers should not have a direct access to production environment.
Email is kind of hard. There’s usually only one API key to the email client, and there’s no real safe way to call it. Personally over the years my approach is to have an internal library that reads what environment it is in, and then if it doesn’t explicitly tell that it’s in prod, it reroutes everything to safe email addresses.