I looking for a script (.bat or similar) that will run continusly, for example every 120sec.
Script will check if log file have new entries (emails) and get the email and date of creation.
If there is a new entry, script will send one email to the new email adress entry with one attached (or embbed) .gif file.
The .gif is always different and all are available in same folder.
Script should get from this this folder the .gif named with the creation date from the entry at the log file.
Script should write in the log file (or other suport file) that the email was sent to that adress, avoiding double emails.