Email Examples

Sending an email

    Sending an email is fairly easy.  It does require that you have configured an SMTP server in the apollo properties file.  During the InitSystem an EmailManager will be created.  Create a NormalMessage object, and pass it to the EmailManager to be enqueued for transmission:

NormalMessage n = new NormalMessage(from, to, subject, messageBody);
//Multithreaded mail transmission does not to slow stuff down