Add last created file in folder as email attachment - VisualCron - Forum

Community forum

Thomas Baetens
Hi all,

I have a vcron task to emails users when there is a new file in a specific folder.
Now I would like to attach the latest created file in that folder as an attachment.

Can someone put me in the right direction?
Please look at the File Trigger tutorial: 

The trick is to use the Variables from the File Trigger into the source folder and file mask fields (in upcoming Tasks);

Source folder: {TRIGGER(Active|LastTrigger|File.Result.TriggerFolder)}
Include file mask: {TRIGGER(Active|LastTrigger|File.Result.Name)}
Please like  VisualCron on facebook!
Scroll to Top