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

Community forum

Thomas Baetens
2018-05-14T09:05:03Z
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?
Support
2018-05-14T14:45:52Z
Please look at the File Trigger tutorial: https://www.visualcron.com/tutorials.aspx 


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)}
Henrik
Support
http://www.visualcron.com 
Please like  VisualCron on facebook!
Scroll to Top