Using Glassfish java mail service