Applications deployed to GlassFish or any other Java EE-compliant application
server frequently need the ability to send emails. Thanks to the JavaMail API, part of
the Java EE 5 specification, sending emails from Java EE applications is fairly simple.
In order to implement the ability to send emails from a Java EE application, we
need to have access to a mail server, typically one using the Simple Mail Transfer
Protocol (SMTP)