Uploaded image for project: 'PUBLIC - Liferay Portal Community Edition'
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-141477

Inappropriate content notification on message boards is sent from wrong address after Mail sender is changed


    • 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:


      Steps to reproduce:

      1. Configure a fake SMTP server to see outgoing emails (e.g. FakeSMTP)
      2. Log in as admin
      3. Go to Control Panel > Instance settings > Email and under EMail sender change the default to something valid (see attached screenshot as an example)
      4. Create a new message board and place it on a page
      5. 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)
      6. Restart the portal (otherwise email sender changes do not take effect)
      7. Sign in and create a new thread in the message board.
      8. Open the thread and click on the flag icon to report it.
      9. 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




            istvan.dezsi Istvan Dezsi
            istvan.dezsi Istvan Dezsi
            Participants of an Issue:
            Recent user:
            Istvan Dezsi
            Engineering Assignee:
            Istvan Dezsi
            0 Vote for this issue
            0 Start watching this issue


              Days since last comment:
              29 weeks, 2 days ago


                Version Package