Nilhcem / FakeSMTP

Dummy SMTP server with GUI for testing emails in applications easily.
http://nilhcem.github.com/FakeSMTP/
Other
990 stars 319 forks source link

Bug: Clicking "No" in the "Clear all" confirmation dialog still clears all received items #70

Open Simulant87 opened 6 years ago

Simulant87 commented 6 years ago

When you have received some E-Mails and click on "Clear all" you get a confirmation dialog asking "Do you want to delete the saved emails?" If you click on "No" the E-Mails still got removed. I expect them to stay unchanged.

Workaround: When the dialog is open, you can close it by the "X" closing the dialog without removing the received E-Mails.

Simulant87 commented 6 years ago

I think I can fix it myself and I would like to work on it. Expect a pull request within this week.

business-tomcat commented 6 years ago

Hi! This is not a bug. The dialog asks if you want to clear the saved messages, not if you want to clear the list. Saved messages are the message files on your hard drive, so if you click yes, the list will be cleared and the files are deleted. If you click no, the list will be cleared, but files on your drive (default folder "received-emails") are kept.