Peter Cseh created OOZIE-3030:
---------------------------------

             Summary: Oozie Mail action -<attachment> is causing issues with 
<body> formatting
                 Key: OOZIE-3030
                 URL: https://issues.apache.org/jira/browse/OOZIE-3030
             Project: Oozie
          Issue Type: Bug
            Reporter: Peter Cseh


When you define a email action in Oozie with <attachment>, then the text in 
<body> is not formatted.
Email Action:
{code}
    <action name="email-f689">
        <email xmlns="uri:oozie:email-action:0.2">
            <to>f...@bar.com</to>
            <subject>Test-HTML-Text</subject>
            <body>
<![CDATA[${wf:name()} Succeeded: During Execution @ ${timestamp()}
<br/>
<br/>
Workflow Id: ${wf:id()} <br/>
Status :  <br/>
<br/>
<span style="text-decoration: underline;">URI for Logs</span>
<br/>]]>
            </body>
            <content_type>text/html</content_type>
            <attachment>${nameNode}/user/admin/shell_output.txt</attachment>
        </email>
        <ok to="End"/>
        <error to="Kill"/>
    </action>

{code}



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to