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

Disable all email features (testing/demonstration) does not work #12932

Closed
bjoern86 opened this issue Jan 25, 2020 · 1 comment
Closed

Disable all email features (testing/demonstration) does not work #12932

bjoern86 opened this issue Jan 25, 2020 · 1 comment
Labels
Bug This is a bug (something does not work as expected)

Comments

@bjoern86
Copy link
Contributor

Bug

I checked Home > Settings > E-Mail > Disable all email features (for testing or demonstration purposes) and inserted my E-Mail Address into the field below ("Send all emails to the following instead of the actual recipients (for testing purposes)". But the system still sends E-Mails like in live mode. --> This is also an security issue, bacause of data disclousure.

Environment

  • Version: 10.0.6
  • OS: Linux
  • Web server: Apache
  • PHP: 7.3
  • Database: mysql 5.7.18

Expected and actual behavior

Send all emails to the inserted E-Mail instead of the actual recipients (for testing purposes)

Steps to reproduce the behavior

see above

Attached files (Screenshots, screencasts, dolibarr.log, debugging informations…)

[Files]

@bjoern86 bjoern86 added the Bug This is a bug (something does not work as expected) label Jan 25, 2020
eldy added a commit that referenced this issue Feb 3, 2020
@eldy eldy closed this as completed in 1dab308 Feb 3, 2020
@bjoern86
Copy link
Contributor Author

@eldy : fix #12932 works not correctly.
If "Disable all email features (for testing or demonstration purposes)" is beeing set, no mail is now beeing sent. ok so far.

If "Disable all email features (for testing or demonstration purposes)" AND "Send all emails to the following instead of the actual recipients (for testing purposes)" is is being set, now mail is now beeing sent as well. --> should now sent e-mail to my e-mail address for test purposes.

If ONLY "Send all emails to the following instead of the actual recipients (for testing purposes)" is beeing set, emails are sent as normal to the actual recipient but not to the test address. --> should sent e-mail to test address but not to actual recipient.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug This is a bug (something does not work as expected)
Projects
None yet
Development

No branches or pull requests

1 participant