A user must be able to invite other people to the game by providing their emails. The user is allowed to either choose from an predefined invitation message or creating his own (text area with predefined text).
I just saw the implementatoin. I believe there is still work to be done on this. As you correctly point out we need an Mail Session in the Jetty Environment settings. We need to configure Spring to use such session. In order not to penalize the user to wait for the email to be sent (which has I/O operations that are slow by nature) we need to use Asynchronous messaging.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
invite.xhtml was added to mpango-web project.
Very basic build of this has been created. This is only a starting point but is a valid Proof of concept.
I just saw the implementatoin. I believe there is still work to be done on this. As you correctly point out we need an Mail Session in the Jetty Environment settings. We need to configure Spring to use such session. In order not to penalize the user to wait for the email to be sent (which has I/O operations that are slow by nature) we need to use Asynchronous messaging.