Hi!
I've looked around now and havn't found any answers. Hopefully someone here can help me.
I want the Robotask to send an email when a new file is moved to a specific folder (that I've managed to do). But I would also like it to attach the specific file that was put into the folder to the email.
How do I do that? (Should be said that I do not know anything about codes or so)
Thanks,
Vera
Automatically attaching new file
Automatically attaching new file
1. You should set up File Monitor trigger for New files.
2. Go to "Save changes" tab and set up to save list of new files into text file (e.g. C:\temp\NewFiles.txt)
3. Put into attachment of email this expression:
{TextFile(C:\temp\NewFiles.txt)}
RoboTask will replace variable {TextFile(C:\temp\NewFiles.txt)} with contents of the file.
2. Go to "Save changes" tab and set up to save list of new files into text file (e.g. C:\temp\NewFiles.txt)
3. Put into attachment of email this expression:
{TextFile(C:\temp\NewFiles.txt)}
RoboTask will replace variable {TextFile(C:\temp\NewFiles.txt)} with contents of the file.