Author: hfnukal
Date: 2011-08-09 21:35:44 -0400 (Tue, 09 Aug 2011)
New Revision: 7037
Added:
epp/portal/branches/EPP_5_2_Branch/web/portal/src/main/webapp/WEB-INF/conf/admin/
epp/portal/branches/EPP_5_2_Branch/web/portal/src/main/webapp/WEB-INF/conf/admin/admin-configuration.xml
Log:
JBEPP-808 add ability to send email on registration and x successive failures
Added:
epp/portal/branches/EPP_5_2_Branch/web/portal/src/main/webapp/WEB-INF/conf/admin/admin-configuration.xml
===================================================================
---
epp/portal/branches/EPP_5_2_Branch/web/portal/src/main/webapp/WEB-INF/conf/admin/admin-configuration.xml
(rev 0)
+++
epp/portal/branches/EPP_5_2_Branch/web/portal/src/main/webapp/WEB-INF/conf/admin/admin-configuration.xml 2011-08-10
01:35:44 UTC (rev 7037)
@@ -0,0 +1,70 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+ <!--
+
+ Copyright (C) 2009 eXo Platform SAS. This is free software; you can
+ redistribute it and/or modify it under the terms of the GNU Lesser
+ General Public License as published by the Free Software Foundation;
+ either version 2.1 of the License, or (at your option) any later
+ version. This software is distributed in the hope that it will be
+ useful, but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ Lesser General Public License for more details. You should have
+ received a copy of the GNU Lesser General Public License along with
+ this software; if not, write to the Free Software Foundation, Inc., 51
+ Franklin St, Fifth Floor, Boston, MA 02110-1301 USA, or see the FSF
+ site:
http://www.fsf.org.
+ -->
+
+<configuration
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+
xsi:schemaLocation="http://www.exoplaform.org/xml/ns/kernel_1_1.xsd
http://www.exoplaform.org/xml/ns/kernel_1_1.xsd"
+
xmlns="http://www.exoplaform.org/xml/ns/kernel_1_1.xsd">
+
+ <component>
+ <key>org.exoplatform.portal.registration.PostRegistrationService</key>
+ <type>org.exoplatform.portal.registration.PostRegistrationService</type>
+ <init-params>
+ <value-param>
+ <name>sendMailAfterRegistration</name>
+ <description>Switch this parameter to value 'true' if you want
+ to be notified about registration of new user.</description>
+ <value>false</value>
+ </value-param>
+ <value-param>
+ <name>mailFrom</name>
+ <description>This will be used as from header in admin
mail</description>
+ <value>gatein-portal(a)example.com</value>
+ </value-param>
+ <value-param>
+ <name>mailTo</name>
+ <description>This should be admin mail address, where email
+ about registration of new user will be send.</description>
+ <value>portal-admin(a)example.com</value>
+ </value-param>
+ <value-param>
+ <name>mailSubject</name>
+ <description>Subject of mail. Tokens like ${user.userName}
+ will be replaced with real attributes of registered user in final
message.</description>
+ <value>Registration of user ${user.userName}</value>
+ </value-param>
+ <value-param>
+ <name>mailMessage</name>
+ <description>Content of mail. Tokens like ${user.userName}
+ will be replaced with real attributes of registered user in final
message.</description>
+ <value>Hi admin,
+
+User ${user.userName} just register himself into your portal. Full data about user:
+
+Username: ${user.userName}
+First name: ${user.firstName}
+Last name: ${user.lastName}
+E-mail: ${user.email}
+
+----------------------
+This message has been generated automatically as notification about registration of new
user into portal.
+ </value>
+ </value-param>
+ </init-params>
+ </component>
+
+</configuration>
+