attaching an arbitrary number is a little more difficult.

Maybe creating a routine that actually writes a taf and then calls it. You'd write the XML and the <@rows Array=xxx> writes the parameterItem list. Then the next step calls this taf. a bit of a kludge, but you'd end up with the ability to have a variable number of attachments.

        <!--Program actions-->
        <Actions>
                <MailAction ID="Mail" Sig="mail">
                        <From>[EMAIL PROTECTED]</From>
                        <To>[EMAIL PROTECTED]</To>
                        <Subject>subject line</Subject>
                        <Body />
                        <ContentType>text/plain</ContentType>
                        <CharacterSet>iso-8859-1</CharacterSet>
                        <Wrap>72</Wrap>
                        <ParameterList>
                                <ParameterItem>file1.txt</ParameterItem>
                                <ParameterItem>file2.txt</ParameterItem>
                        </ParameterList>
                </MailAction>
        </Actions>

        <!--Data sources-->
        <DataSources />

        <!--Output blocks-->
        <Outputs />





On Jul 30, 2004, at 9:09 AM, Witango 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.

________________________________________________________________________ TO UNSUBSCRIBE: Go to http://www.witango.com/developer/maillist.taf

Reply via email to