-
Type:
Bug
-
Status: Closed
-
Resolution: Won't Fix
-
Affects Version/s: 7.3.X, Master
-
Fix Version/s: None
-
Component/s: Mail, Message Boards
-
Labels:
-
Fix Priority:3
Steps to reproduce:
- Configure a fake SMTP server to see outgoing emails (e.g. FakeSMTP)
- Log in as admin
- Go to Control Panel > Instance settings > Email and under EMail sender change the default to something valid (see attached screenshot as an example)
- Create a new message board and place it on a page
- Go to Content & Data > Message boards > kebab menu > Configuration and under Email From configure the same name and address as in step 3 (in master this is automatically copied over)
- Restart the portal (otherwise email sender changes do not take effect)
- Sign in and create a new thread in the message board.
- Open the thread and click on the flag icon to report it.
- Select a category and fill in the captcha and click on report.
Actual behavior: Thank you for your report message Appear but outgoing mail still sent from invalid address ([email protected]) which will normally be blocked in a live environment resulting in the below warnings in the log:
WARN [liferay/mail-3][MailMessageListener:135] Email [email protected] will be ignored because it is included in mail.send.blacklist
WARN [liferay/mail-3][MailMessageListener:52] Skipping email because the sender is not specified
Expected behavior: Email notification sent to Admin about the reported message