Documentation

Configuring Default Email Senders

By default, emails sent by Liferay DXP use the name and email address as the default admin user. This behavior can be configured for each of the different email types.

Changing the Default Email Sender

To change the default email sender, follow these steps:

  1. Open the Product Menu and navigate to the Control PanelConfigurationInstance Settings.

    Locating the Email configuration option in the Instance Settings menu.

  2. Click Email.

  3. Click Email Sender.

  4. Enter your values for the following fields:

    • Name

    • Address

    Changing the default email sender name and email address.

  5. Click Save.

Using Portal Properties to Configure the Default Email Sender

The default email sender can also be configured using a portal-ext.properties file. The following property values can be replaced with your own:

admin.email.from.name=Joe Bloggs
admin.email.from.address=[email protected]

Changing the Email Sender for Announcements

The Announcements application uses its own distinct sender. To configure the sender name and address for announcement emails you must use a portal-ext.properties file. Replace the following property values with your own:

announcements.email.to.name=
announcements.email.to.address=[email protected]

Blacklisted Emails

The following emails are blacklisted by default and cannot be used in any DXP installation:

  • noreply@liferay.com

  • test@liferay.com

  • noreply@domain.invalid

  • test@domain.invalid

Attempts to use the above emails result in a logged WARN trace:

Email xxx will be ignored because it is included in mail.send.blacklist