Monitor folder, email report files

Suppose that at the end of every week a report file is put into a folder C:\Reports\ where also other relevant files are kept. Sometimes these reports are Microsoft Word 2007 documents (.docx extension), sometimes Microsoft Word 2007 documents with macros (.docm extension), but mostly documents created with older versions of Microsoft Word (.doc extension) and all these files are consistently named according to scheme report-1217.extension (where month is specified by first two digits, while other two indicates the date).

report files in C:\Reports\ folder…

How to automatically send these files to preconfigured email? The easiest way is to create a automated Task that contains File / Folder Watcher Trigger and Send email Action. File / Folder Watcher has to be configured to watch for files in C:\Reports\ folder with include filter monitoring specifically for report-????.doc* (file mask).

Configure File / Folder Watcher…

Send email Action should be configured to get attachment file name from Variable Wizard (open Variable Wizard - select Triggers - select File / Folder Watcher - choose Full path with file name). Other email parameters (From, To, Subject, Email text) should be specified accordingly.

Configure Send email Action & Variable Wizard…

Thus, when file with name that matches the mask report-????.doc* (any file that starts with report- followed by any four characters and extension starting with .doc and followed by any number of any characters) is put into C:\Reports\ folder, File / Folder Watcher automatically causes Send email Action that, in turn, attaches report file to email and sends it to specified address.

Free trial 15 day trial · Details…
Buy now 30 day MBG · Details…

If you have any questions, please do not hesitate to contact our support team.

© 2001–2017 Febooti Ltd.