Infologic, Inc. - Scientific geochemical lab software development
PetroEdge Solutions ChromEdge

Page 1 of 1

Mailer allows the LADS system to automatically read email attachments and save the attachments into the directory that DB_Enter reads.

The interface of Mailer is as follows:

The first line shows the status of the program. It can be Idle, Sending files or Receiving files. The Last File Processed field shows the last file the program worked with. It could be the file that it received (In) or the file that it sent (Out). The Time and Date of Last field shows the time stamp of the last processed file. Files field shows the total files processed since this instance of the program started. The Errors shows how many errors Mailer found since the last time errors have been reset. Pressing the Reset Errors button will set the Errors to zero. The possible errors could be an error connecting to the mail server, an error attaching the file to the mail, an error writing the attached file to the disk, etc. The brief description of the error will be captured in the mail.log file in the \log directory (see Server Directory Structure and File Description section). Show Log button will open the mail.log in WordPad. Delete Log will delete mail.log. Mailer will check mail every five minutes. The count down number at the left side of the window shows how much time left before the next check. Each count is 30 seconds. If you like to have the program run immediately, press the Go Now button.

Mailer needs two configuration files to run. They are mailer.txt and mailaddr.txt, see Server Directory Structure and File Description section for their structure. These two configuration files should be in the same directory as the mailer.exe.

Mailer will deliver the files that are in the subdirectory of Outgoing, which is specified by the mailaddr.txt. Mailer will put the incoming data files in the Incoming directory. The data files will then be handled by DB_Enter. Mailer will generate a file called ~waitmail in the Incoming directory while it is moving the files to prevent DB_Enter from accessing the same files. The ~waitmail file will be deleted when Mailer finishes processing the incoming mail.

Page 1 of 1