To use mail notification, you have to configure JOnAS as the installation file explains :
Mail service
You have to configure a MailSession tha point to a valid mail server. MailSession definition:
- Create a file named JONAS_ROOT/conf/libresourceMail.properties :
mail.factory.name libresourceMail
mail.factory.type javax.mail.Session
mail.from libresource@<your_organisation>.org
mail.smtp.host <your_smtp_server>
mail.smtp.port <your_smtp_port>
#mail.authentication.username <my.username>
#mail.authentication.password <my.password>
- Edit the folowing line in $JONAS_ROOT/conf/jonas.properties
jonas.service.mail.factories libresourceMail
- Add "mail" at the end of the following line in the file $JONAS_ROOT/conf/jonas.properties
jonas.services registry,jmx,jtm,dbm,security,resource,ejb,web,ear,mail
(quoted message not found : ls://dev.libresource.org/home/forum/9f57046fc0a8001e01723ae069e0951c/9f6456b8c0a8001e01dba6fc27a46f12)
LibreSource mail notifications are synchrone (as the jabber service).