Page 1 of 1

Multiple Copy/Move file in e-mail body

Posted: Tue Nov 04, 2008 12:55 am
by Gekseppe
Hi;
I'm trying to use the function Copy/Move file in an e-mail body as follow:

pippo1: 'file to copy1'
pippo2: 'file to copy2'
pippo3: 'file to copy3'

'Pippo1,Pippo2,Pippo3,' is a (fixed) value written directly into e-mail body.

The result of this is an e-mail which always reports only the first line (i.e. pippo1: 'file to copy1') while the other values are omitted.

Is there a way to have all the three lines into the e-mail body ?

Many thanks for your help.

Multiple Copy/Move file in e-mail body

Posted: Tue Nov 04, 2008 4:02 am
by Oleg
What is your target?
I understand you so: you want to send some files in attachment but sometimes you haven't all three files at a time.

I think that there is more simple way to do this.

for example:
You may to write the list of files into text file (one filename per line).
Next, put the following expression into email attachment: {TextFile(<Full_file_name>)} into mail attachment.

If the list is empty then RoboTask sends the message without attachments. Otherwise it sends only specified files.

Multiple Copy/Move file in e-mail body

Posted: Wed Nov 05, 2008 2:17 am
by Gekseppe
For sure I was not clear enought

I have three files.
I run the 'Copy/Move file' function on each file.
Then I send an email and use the function to copy the contents of the text files into the e-mail body like this:

Fixed text: {TextFile(c:\File1.txt)}
Fixed text: {TextFile(c:\File2.txt)}
Fixed text: {TextFile(c:\File3.txt)}

Unfortunately into the email only the value stored into the File1 is shown; then the email is blank...

Multiple Copy/Move file in e-mail body

Posted: Wed Nov 05, 2008 11:27 pm
by Oleg
Can you send your task?
I've just tried to put a few text files into the message body. It's working