Legacy Knowledge Base
Published Jul. 2, 2025

Configuration of Flag notification Email sender addresses and names

Written By

Katalin Györgyövics

How To articles are not official guidelines or officially supported documentation. They are community-contributed content and may not always reflect the latest updates to Liferay DXP. We welcome your feedback to improve How To articles!

While we make every effort to ensure this Knowledge Base is accurate, it may not always reflect the most recent updates or official guidelines.We appreciate your understanding and encourage you to reach out with any feedback or concerns.

Legacy Article

You are viewing an article from our legacy "FastTrack" publication program, made available for informational purposes. Articles in this program were published without a requirement for independent editing or verification and are provided"as is" without guarantee.

Before using any information from this article, independently verify its suitability for your situation and project.

Issue

  • Flag content warning (e.g. when a user reports a thread on a Message Board as inappropriate) is not sent to admins despite changing the email sender name and address under Control Panel > Instance settings > Email. At the same time log shows " Skipping email because the sender is not specified" warning.

Environment

  • Liferay DXP 7.3 GA +

Resolution

  • Flag notification email sender addresses and names are implemented separately in FlagsGroupServiceConfiguration.
  • This means that they need to be configured in System Settings > Community Tools > Flags in the Email from Address and Email from Name fields.

  • The default values of these fields are ${server-property://com.liferay.portal/admin.email.from.address} and ${server-property://com.liferay.portal/admin.email.from.name}, respectively. Those are server scoped values, not instance scoped, as they are server-properties, so what has been set instance-wide will not have an effect on them.

    If you change ${server-property://com.liferay.portal/admin.email.from.address} and ${server-property://com.liferay.portal/admin.email.from.name} to a valid email address with a corresponding name, respectively, and save the configuration, the flag notifications will be sent from that address.

 

Did this article resolve your issue ?

Legacy Knowledge Base