It may be useful for a portal administrator to be notified when a new user registers with the portal, particularly if the portal provides a public registration page, which is the case with GateIn Portal. This feature is disabled by default. To configure the new user email service, perform the following configuration:
Configure your SMTP server - You will need to configure correctly your SMTP server as described in Email Service Configuration
Configure the service used for sending emails - There is new component PostRegistrationService, which can be configured in GATEIN_HOME/gatein/gatein.ear/portal.war/WEB-INF/conf/admin/admin-configuration.xml. There are descriptions in this file for each of the available parameters. Most importantly, the two parameters that need to be configured at the minimum are:
sendMailAfterRegistration - The value needs to be changed to true (It's false by default so sending emails after registration is disabled)
mailTo - You need to add your email address here.
Test - Restart the server and register a new user via GateIn Portal user interface. An email will be sent notifying you that a new user has been registered.