Hi,
We just uploaded a new beta with a few fixes and some new features.
Fixed:
Ignoring certain subdirectories of the monitored directory did not work anymore (not ignored).
And several new options for the email plugin. Most of these were requested in response to the email tip in our
previous newsletter .
Dynamic subject based on the directory where the new file is foundWhen you use the trick with the email.txt file, as described in the newsletter, you can now also add the subject to use for the email to the email.txt file.
To do this, your email.txt file should look like this:
Code:; <- lines that start with a semicolon are ignored
TO:<John@doe.com>
CC:<Mary@doe.com>
;
; email plugin stops reading email addresses when it sees a line starting with "["
[subject]
subject=A new file: %WD_FILE%
Look for the email.txt in parent directoriesWhen the email.txt file is not found in the directory which has the file event (new file, deleted file etcetera), you can instruct the email plugin to look for it in the parent directory (and after that in the parents parent directory....).
To enable this, add an exclamation mark (!) in front of the filename:
Code:@@!email.txt
When the file C:\Monitored\subdir\sub\file.txt is created, the email plugin will try the following filenames:
Code:C:\Monitored\subdir\sub\email.txt
C:\Monitored\subdir\email.txt
C:\Monitored\email.txt
C:\email.txt
Gert
removed the download link, see last reply for the current versioncorrected the layout of code sample