Hi everybody,
Can I associate a file to a variable and attack it in a mail? (using Send Mail).
Attaching a file using a variable
Re: Attaching a file using a variable
Yes, of course. Just put the file name into variable (suppose MyVar = D:\Temp\myfile.zip)
Next, put the expression {MyVar} into "Attachments" field (see screenshot) If you want to attach several files you have to put into variable all filenames as multiline text: one file name per line.
For example:
D:\Temp\myfile.zip
D:\Temp\myImage.jpg
D:\Temp\myText.txt
Next, put the expression {MyVar} into "Attachments" field (see screenshot) If you want to attach several files you have to put into variable all filenames as multiline text: one file name per line.
For example:
D:\Temp\myfile.zip
D:\Temp\myImage.jpg
D:\Temp\myText.txt
Oleg Yershov
-
- Posts: 70
- Joined: Thu Jul 02, 2015 3:54 pm
Re: Attaching a file using a variable
I love Robotask!!!
-
- Posts: 70
- Joined: Thu Jul 02, 2015 3:54 pm
Re: Attaching a file using a variable
Thanks for your fast support!!! 
