Page 1 of 1

Email with list of files downloaded.

Posted: Mon Jul 21, 2014 9:25 am
by nishantmathur
Hello all,

I am having issues creating a email body with list of list downloaded.. I created a variable to store list of files... but as you can see they are separated by ' ; '. I would like to have a new line (\n) between each file name entry.

${Concat(emailFileList, FileInfo(String(file)):name, ' ; ' )}

Current output :

ABC.txt ; CDE.txt ; efg.csv

Desired output :

ABC.txt ,
CDE.txt ,
efg.csv


Thanks in advance for your help

Re: Email with list of files downloaded.

Posted: Mon Jul 21, 2014 10:07 am
by Support_Rick
Change your Concat function to this:

${ Concat( emailFileList, FileInfo(String(file)):name, system.carriageReturn) }

Re: Email with list of files downloaded.

Posted: Mon Jul 21, 2014 11:03 am
by nishantmathur
That worked.. Thanks Rick !!