this post was submitted on 14 Jan 2025
86 points (100.0% liked)
Programmer Humor
33084 readers
264 users here now
Post funny things about programming here! (Or just rant about your favourite programming language.)
Rules:
- Posts must be relevant to programming, programmers, or computer science.
- No NSFW content.
- Jokes must be in good taste. No hate speech, bigotry, etc.
founded 5 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
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
At my first job I was tasked to create a newsletter (for customers who had subscribed to it).
My boss told me when I'm done and he looked it over, I can send it out myself.
Used the wrong recipient list and sent it to literally every single e-mail address the company had on file.
When thousands of delivery failure notices, confused replies and angry demands to unsubscribe rolled in, my boss told all my colleagues to step outside the office, and then yelled at me for several minutes straight about how I jeopardized his business by trying to be a smartass and I should run everything by him first from now on. Then he called everyone back into the office and, in front of all of them, praised my initiative, work ethic, and go-getter attitude.
All in all, it was a pretty useful mistake. We could update our contact list, actually received lots of interest in the newsletter from people who hadn't subscribed, and I learnt that my boss is a psycho and could start planning my exit.
Rite
Your right 👍
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.