text_html_attach_email.xaction 1.56 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 50 51 52 53 54 55 56 57

<action-sequence>

  <name>text_html_attach_email.xaction</name>
	<version>1</version>
	<title>Text and HTML Email With Attachment</title>
	<logging-level>debug</logging-level>
	<documentation>
		<author>James Dixon</author>
		<description>..</description>
		<help>just testing...</help>
	</documentation>

	<inputs>
		<to type="string">
		  <default-value>joe.pentaho@pentaho.org</default-value>
		</to>
		<from type="string">
		  <default-value>joe.pentaho@pentaho.com</default-value>
		</from>
		<subject type="string">
		  <default-value>text_html_attach_email.xaction - Pentaho email Test</default-value>
			<sources>
				<request>email-subject</request>
			</sources>			
		</subject>
		<message-plain type="string">
		  <default-value>This email was automatically generated by Pentaho BI Platform</default-value>
		</message-plain>
		<message-html type="string">
		  <default-value>
		  <![CDATA[
		    <html><body><span style="font-family:tahoma,ariel;color:#000080;font-weight:bold">
		     This email was automatically generated by Pentaho BI Platform
		     </span></body></html>
		  ]]>
				</default-value>
		</message-html>
	</inputs>
	<outputs/>
  <resources/>
  
  <actions>
      <action-definition>
        <action-inputs>
          <to type="string"/>
          <subject type="string"/>
          <message-plain type="string"/>
          <message-html type="string"/>
        </action-inputs>
        <component-name>EmailComponent</component-name>
        <action-type>email</action-type>
      	<component-definition/>
      </action-definition>
  </actions>
</action-sequence>