You don't through an array. You use the array directly. However, make sure that the array elements are full paths to the attachments. This works fine in W5.
Stefan
At 12:09 PM 7/30/2004, you wrote:
So would W5 let me somehow loop through an array 'n' number of times and attach 'n' number of files within a single mail action? If yes, I will upgrade.
-----Original Message----- From: Stefan Gonick [mailto:[EMAIL PROTECTED] Sent: July 30, 2004 12:04 PM To: [EMAIL PROTECTED] Subject: RE: Witango-Talk: Mail Attachments
I did just share. :) As far as I remember, you could not send multiple attachments in one email (though I never tried that). I personally experienced the bug where T2000 truncated text file attachments that I was sending. That's why I switched to the COM object (I don't remember the name of it). When we upgraded to W5 I was able to use the email action again.
Stefan
At 11:58 AM 7/30/2004, you wrote: >Well do share. I am in a bit of a fix here. > >Thanks > >Regards > >Vic > >-----Original Message----- >From: Stefan Gonick [mailto:[EMAIL PROTECTED] >Sent: July 30, 2004 11:53 AM >To: [EMAIL PROTECTED] >Subject: RE: Witango-Talk: Mail Attachments > >Hi Vic, > >I seem to recall that there was a bug in T2000 with multiple attachments >in one email. In fact, I also seem to recall another bug where an >attachment would get truncated as well. I had to use an email COM >object to get around that bug. > >Stefan > >At 11:44 AM 7/30/2004, you wrote: > >Hello Rick, > > > >Thanks for the email. I need to send only ONE email with all the > >attachments. That's the issue. I tried a lot of ways that ended up crashing > >the server (not a good thing). > > > >Lunch is surely on and its great to know you are closer :) > > > >Vic > > > >-----Original Message----- > >From: Rick Sanders [mailto:[EMAIL PROTECTED] > >Sent: July 30, 2004 11:42 AM > >To: [EMAIL PROTECTED] > >Subject: Re: Witango-Talk: Mail Attachments > > > >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 > > > >________________________________________________________________________ > >TO UNSUBSCRIBE: Go to http://www.witango.com/developer/maillist.taf > >===================================================== >Database WebWorks: Dynamic web sites through database integration >http://www.DatabaseWebWorks.com > >________________________________________________________________________ >TO UNSUBSCRIBE: Go to http://www.witango.com/developer/maillist.taf > >________________________________________________________________________ >TO UNSUBSCRIBE: Go to http://www.witango.com/developer/maillist.taf
===================================================== Database WebWorks: Dynamic web sites through database integration http://www.DatabaseWebWorks.com
________________________________________________________________________ TO UNSUBSCRIBE: Go to http://www.witango.com/developer/maillist.taf
________________________________________________________________________ TO UNSUBSCRIBE: Go to http://www.witango.com/developer/maillist.taf
=====================================================
Database WebWorks: Dynamic web sites through database integration
http://www.DatabaseWebWorks.com
________________________________________________________________________ TO UNSUBSCRIBE: Go to http://www.witango.com/developer/maillist.taf
