Description:
If the setting Delete Intercepted Emails (Direct_Reply_Delete) is disabled, incoming emails will still be deleted by Rocket.Chat.
Steps to reproduce:
- Goto Admin
- Activate direct reply
- Configure a working email address / mailbox (IMAP)
- Set the option Delete Intercepted Emails to
false
- Save the settings
- Send any email to the previously configured email address
- Check the configured IMAP mailbox via email client
Expected behavior:
The email should not be deleted and marked as read in the mailbox.
Actual behavior:
The direct reply email is deleted.
Server Setup Information:
- Version of Rocket.Chat Server: 1.1.0-develop
- Operating System: all
- Deployment Method: local
- Number of Running Instances: 1
- DB Replicaset Oplog: 1
- NodeJS Version: 8.11.4 - x64
- MongoDB Version: 4.0.3