Event File Mailer Version 1.1

Download: Event File Mailer


Introduction:

Event File Mailer (EFM) is a Windows based program that transfers event file requests from WinQuake to WinSDR via email. The event files created by WinSDR are then attached to an email message and sent back to the user.  EFM version 1.1 now support the new Dataset Volume event file format added recently to WinSDR and WinQuake. Below is information need to get EFM working on your system.


Installation and program Setup:

You can download the install program using this link http://www.seismicnet.com/software/efm11.exe. EFM can be installed on the same system running WinSDR or another system located on your LAN. If you install the program on another system, you will need to setup file sharing between the two systems. EFM and WinSDR will use two directories. One is used for the request file, see WinSDR docs for more info, and the other will be used to hold the event files produced by WinSDR and converted to an email message by EFM. Once the email message gets sent out, the event file(s) will be deleted from the directory.

So that people can create event files using WinQuake, you will need a dedicated email account for ELM. This email address will be used by WinQuake to send the request too, and ELM will check this email POP account for new request files sent out by WinQuake users. When setting up ELM - DO NOT! use your normal email address. ELM will read all messages sent to the email address. The messages sent to ELM are not saved and they will be DELETED from the mail server after ELM checks for event or station request keywords.

There are several ways you can get an email account for ELM. Your ISP may allow you to have more then one email address or you can use one of the free email account services available on the Internet. The email address must be accessible using POP. I believe that both Hotmail and Yahoo no longer give out free POP account email address. For my testing I used www.MyRealBox.com. It's very easy to setup an account and it's free.

Once you have an email account you can startup EFM. In the POP Account group box enter the POP server domain name, example pop.myrealbox.com, the user name and password. Next enter a number in the Check Every edit box. This is the time interval EFM will check the mail box. The default is every 2 minutes. The Enable check box will become enabled once you enter all of the information needed by EFM and save the data to the eventreq.ini file.

EFM can currently handle two WinSDR systems allowing it to request event files for up to 16 channels. In the WinSDR Directories use the browse button next to the First System Directory to locate the root directory of the first WinSDR system. ELM uses this to read the WinSDR.ini file when it first starts up or if you press the Update button. Next locate the directory that will be used for the Request File directory. If EFM is running on the same system, select the same directory that is in the "Request Control File" display field in the System Settings dialog box of WinSDR. Remember, do not use a directory that has a space in it! If you are running two WinSDR systems enter the directories for the other system in the next two edit boxes. The Update button should be used if you make any major changes to WinSDR. Changes like changing the sample rate or number of channels to record, require that you update the EFM program with the new information. You should also press the Update button if you make any changes to the location or sensor information fields in the WinSDR Channels Settings dialog box.

Next enter your station name in the Station Name edit box. In the From User Name and Email Address edit box enter a name and then the users SMTP account email address in brackets like this <>. The email address must be known by the SMTP server and it must be within brackets <>. Example: Event Request <psnuser@myrealbox.com>. This information is used to send out the email message and it will show up as the From: field of the message.

In the WinSDR Temporary File Directory enter a directory accessible by WinSDR that will be used to hold the event files produced by WinSDR. If EFM is running on the same system as WinSDR you should leave the Temporary WinSDR Map Drive blank. If EFM is running on another system, you will need to place the mapped drive letter in this field. If WinSDR will be using a directory like c:\temp\ to hold the files and if drive E on the EFM system is mapped to the C drive on the WinSDR system, enter E in the Temporary WinSDR Map Drive edit box.

Next open the SMTP Information dialog box by pressing the SMTP Info button. In this dialog box enter the SMTP server name, and if the server requires authentication, set the select box to Authentication and enter the Account Name and Password. If you use MyRealBox.com's SMTP server you will need to use authentication.

Once you have all of the information entered the Save button should be enabled. Pressing this button will save the data in the INI file and enable the Enable Check box in the POP Account Group. When you enable the pop account EFM will start checking the email address for new email messages. The Check Now button can be used to force EFM to check the POP account for new messages.

The Statistics button opens a dialog box that displays some statistical numbers like the number of files sent, number of bytes sent etc. When you startup the program it will place a small icon on the system tray. You can hide the program by double clicking on the icon in the system tray. Double clicking again will reshow the window. The program will continue to run when it is hidden.

The next thing to do is to use WinQuake to test your setup. See my last email message and the WinQuake documentation on how to use the Remote Event File Request feature in WinQuake. Once you get everything working please let me know what the email address and the station name is so I can add it to the station list file.


[ Top ] [ WinSDR ]