rnwood / smtp4dev

smtp4dev - the fake smtp email server for development and testing
BSD 3-Clause "New" or "Revised" License
3.02k stars 339 forks source link

Feature: Reply to an email #1260

Closed gillg closed 4 months ago

gillg commented 11 months ago

Hello,

Because smtp4dev is awsome and almost complete for a end-to-end email workflow, that would be great to have a reply (not forward, not new email) feature from the web mailbox. That should ceate a new email based on the body of the one you reply + propose to fill some custom text as response.

Once the message is ready, the user clic on "send localy" and the message is just routed to the local SMTP server.

This enhancement allows to test workflows based on IMAP parsing like:

  1. Your application send a notification to an end user
  2. The end user "reply" to the message
  3. Your application parse a mailbox to re-map the mails answers to its internal database. This workflow is very common in helpdesk / ticketing systems.

Because the mailbox is shared for end-user and application mails, the application parsing IMAP should just filter on the Message-Id != *@{{well kown domain}}

rnwood commented 6 months ago

This is a great idea and I understand how this is useful for development. Open to PRs for this one if anyone is interested.

rnwood commented 4 months ago

Implemented in PR #1472.