Hi Vicky, You need to loop around your array.
Use a for loop action. count from 1 to <@NUMROWS array=docarray scope=scope> Enter a name for the counter variable ie: doc Then, reference it as @@ doc or @@local$doc In the loop, it'll be: @@doc.doc Then, put your mail action in the loop and make the attatchment @@doc.doc Tango will send an individual email with the different documents attached. BTW Vicky, I moved from Montreal to Kitchener! I'm not far from you now. Still want to do lunch? If you need more assistance, let me know. Rick Sanders Vice President of I.T. Webenergy-Icantec Kitchener - Waterloo:(519) 741-2117 Montreal: (514) 808-0788 www.webenergy-sw.com www.icantec.ca ----- Original Message ----- From: "Witango" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, July 30, 2004 11:18 AM Subject: Witango-Talk: Mail Attachments > Hello, > > I have a variable containing : 1.doc,4.doc,25.doc > > I tokenize it by char ',' and put it in an array > > How can I loop to attach each file in that array in the mail action? I am > using T2K. Getting stuck because its not a finite number at all times > > Any help would be appreciated > > Thanks much > > Vicky > > ________________________________________________________________________ > TO UNSUBSCRIBE: Go to http://www.witango.com/developer/maillist.taf > ________________________________________________________________________ TO UNSUBSCRIBE: Go to http://www.witango.com/developer/maillist.taf