*************************************************

This is setup description for using mail example.

*************************************************

This example uses third-party libraries from buni.org(meldware libs), which are primary only for JBoss AS 4.0.x. 
These libraries are needed only if you don't have got any mail server for testing receiving and sending e-mails.

Libraries from meldware are deployed on JBoss AS and works as enterprise groupware inside the JBoss JEE container.
There are some errors in starting this groupware application which are related to deploying on JBoss AS 4.2.x. These errors are registered at buni.org and in JBoss JIRA, but are not resolved,
Referenced issues:
http://buni.org/bugzilla/show_bug.cgi?id=162
http://jira.jboss.com/jira/browse/JBPAPP-802

We recommend to setup a mail server instead of bundled meldware server. 
Go to ./examples/mail/resource/components,xml and search for
mail:mail-session configuration element, then e.g if you have Google email account, set up the following: 
<mail:mail-session host="smtp.google.com" port="587" username="googleuser" password="password" />.

The mail example is not restricted for using any remote mail server.