Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot "Export messages" by email using "To Users" (using additional emails works). #22199

Open
tmartincpp opened this issue May 31, 2021 · 3 comments

Comments

@tmartincpp
Copy link

tmartincpp commented May 31, 2021

Description:

Exporting messages by email through "To Users" does not work (while using "To additional emails" works).

RC_export_by_email

Steps to reproduce:

  1. Create a new RC installation using Docker,
  2. Verify your email address for your account in the administration page (to prevent any issue),
  3. Configure SMTP parameters in administration page and test it ("Send a test email to my user"),
  4. Go to your mailbox, verify that you have verified the test email,
  5. Go to any room, write a message and try to export it using "Export messages",
  6. Select your own user in "To Users" and click "Send",
  7. Go to your mailbox, you will not have receive the exported message.

If you want to verify that additional emails works :
8. Get back to RC, try to export the same message using "Export messages",
9. Manually add your account email address in "To additional emails", click "Send",
10. Go to your mailbox, you will have received the exported message.

Expected behavior:

We should received emails using "To Users".

Actual behavior:

We don't receive those emails.

Server Setup Information:

  • Version of Rocket.Chat Server: 3.15.0
  • Operating System: Debian
  • Deployment Method: docker
  • Number of Running Instances: 1
  • DB Replicaset Oplog: yes
  • NodeJS Version: 12.22.1
  • MongoDB Version: 4.0.23

Client Setup Information

  • Desktop App (3.1.1) and any tested browser (Firefox 78.10.0 and Chromium 90.0.4430.212)
  • Operating System: Debian

Additional context

AFAIK, this bug is not new, it appears at least since 3.14.0 (and probably even since 3.12.0 but not 100% sure about it).

I can confirm that RC does not even try to send the email when using "To Users" (no outgoing connection seen using tcpdump).

Relevant logs:

I don't see any relevant log, despite putting logs to debug : using "To Users" or "To additional emails" is showing the same successful calls (despite emails not being sent using "To Users").

@johncrisp
Copy link

Thanks for reporting this.

Somone will look at it in due course.

@tmartincpp
Copy link
Author

Same with 3.16.1.

@tmartincpp
Copy link
Author

Still happening with 3.18.2, can't test open.rocket.chat (4.0.1) because I don't have the right to export.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants