BatchMail Log

BatchMail is a separate Java program that is started by ExtraView when it starts, or when your server is booted. This contains the code that processes email notifications when they are output from ExtraView. ExtraView does not send email notifications directly to your SMTP mail server. This is because if the server goes down for any reason, ExtraView may end up waiting (and waiting) for a response.

Instead, ExtraView writes each email notification sent to a temporary directory. The path to the mail directory where the BatchMail program resides is specified within the Configuration.properties file for ExtraView. This file is stored within the ExtraView WEB-INF directory. The path is defined within the within the entry named MAILBOX. For example, in an Apache Tomcat installation of ExtraView with a home directory of /evj, the path to the log file may be similar to /evj/tomcat/webapps/golden411/WEB-INF/BatchMail/logs.

An excerpt from a BatchMail log file follows.

Errors in the BatchMail Log

In the case of an error, the log will show the specific error. In the above case, the error shown is an unknown user. When an error is encountered, the email notification file is renamed and remains on the server. The file is renamed with the characters “__” placed in front of the original mail.