DEV Community

Aidan
Aidan

Posted on

1 1 1 1 1

Prevent email spam from developers during application development

hi everybody!

Today I share some issues I have encountered, it isn't very pleasant

The issue:

  • When clicking submit, the screen of new employees will call send mail to list users has the role admin and manager. I'm a newbie joining a project, i run the project at my local and test this screen
  • So...., that day, everyone who has participated in the project, current team members and members who have moved to other projects, and members who have left. They received a lot of emails from my testing activities because I cloned the database from the development environment to my local and the database already had their information.
  • Everyone sympathized with my actions. But I think I need to improve more

so I will introduce to everyone this great tool mailtrap

Mailtrap working
Image description

My Inbox:
Image description

SMTP info
Image description

Test send email with SMTP
https://www.gmass.co/smtp-test
Image description

You check Demo Inbox Mailtrap WOA :D
Email header info consit from, to, ...
Image description

With mailtrap i can test this screen :D

👋 While you are here

Reinvent your career. Join DEV.

It takes one minute and is worth it for your career.

Get started

Top comments (0)

A Workflow Copilot. Tailored to You.

Pieces.app image

Our desktop app, with its intelligent copilot, streamlines coding by generating snippets, extracting code from screenshots, and accelerating problem-solving.

Read the docs

👋 Kindness is contagious

Discover a treasure trove of wisdom within this insightful piece, highly respected in the nurturing DEV Community enviroment. Developers, whether novice or expert, are encouraged to participate and add to our shared knowledge basin.

A simple "thank you" can illuminate someone's day. Express your appreciation in the comments section!

On DEV, sharing ideas smoothens our journey and strengthens our community ties. Learn something useful? Offering a quick thanks to the author is deeply appreciated.

Okay