Configure Forget password in Jetspeed2

In Jetspeed 2 portal registered users can retrieve there password using via email.
In lot of instance portal administrator doesn’t configure mail server properly, Which causes this problem.
Portal Administrator should fill following configuration in administration.xm under (WEB-INF/assembly/) to enable mail sending from jetspeed 2

<beans>
<bean id="mailSender" class="org.springframework.mail.javamail.JavaMailSenderImpl">
<property name="host"><value>localhost</value></property>
<property name="username"><value></value></property>
<property name="password"><value></value></property>
<property name="javaMailProperties">
<props>
<prop key="mail.smtp.auth">false</prop>
</props>
</property>
</bean>