To configure JavaMail for use in the Application Server, create a Mail Session in the Admin Console. The server-side components and applications can then access JavaMail services with JNDI, using Session properties you pre-configure for them. For example, by creating a Mail Session, you can designate the mail hosts, transport and store protocols, and the default mail user in the Admin Console so that components that use JavaMail do not have to set these properties. Applications that are heavy email users benefit because the Sun Java System Application Server creates a single Session object and makes it available via JNDI to any component that needs it.