text_only_email-loop.xaction 1.32 KB
Newer Older
Thitichaipun Wutthisak committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49

<action-sequence>

	<name>text_only_email-loop.xaction</name>
	<version>1</version>
	<title>Text Only Email.xml</title>
	<logging-level>debug</logging-level>
	<documentation>
		<author>James Dixon</author>
		<description>Email test</description>
		<help>just testing...</help>
	</documentation>

	<inputs>
		<to type="string-list">
		  <default-value type="string-list">
        <list-item>joe.pentaho@pentaho.org</list-item>
        <list-item>pat.pentaho@pentaho.org</list-item>
        <list-item>suzy.pentaho@pentaho.org</list-item>
        <list-item>tiffany.pentaho@pentaho.org</list-item>
		  </default-value>
		</to>
		<subject type="string">
		  <default-value>text_only_email-loop.xaction - New Test Subject</default-value>
			<sources>
				<request>email-subject</request>
			</sources>			
		</subject>
		<message-plain type="string">
		  <default-value>New Message Text</default-value>
		</message-plain>
	</inputs>
	<outputs/>
  <resources/>
  
  <actions loop-on="to">
      <action-definition>
        <action-inputs>
          <to type="string"/>
          <subject type="string"/>
          <message-plain type="string"/>
        </action-inputs>
        <component-name>EmailComponent</component-name>
        <action-type>email</action-type>
      	<component-definition/>
      </action-definition>
  </actions>
</action-sequence>