body.append( "Here is your requested password\n" );
body.append( " Login: " + u.getId( ) + "\n" );
body.append( " Password: " + u.getPassword( ) + "\n\n" );
/* Send the message */
MailService mailer = ( MailService ) ctx.getService( MailService.NAME );
mailer.send( null, new Address[] { new InternetAddress( u.getEmail( ) ) }, subject, body.toString(), MailService.MIME_TEXT );
}
catch ( UserNotFoundException u )
{
ctx.getLog( ).warn( email + " not found", u );
}