hadoop - Oozie email action, how to set a specific "from address" -


i want set parameter oozie.email.from.address 1 action.

i know oozie-site.xml exists sets parameter every action. in 1 of workflow.xml tried this

<action name="sendemail5530">    <email xmlns="uri:oozie:email-action:0.1">         <configuration>            <property>                 <name>oozie.email.from.address</name>                 <value>myfromadress@gmail.com</value>             </property>         </configuration>                 <to>${parammaillist}</to>         <subject> subject</subject>         <body>            body         </body>     </email>     <ok to="mailsent"/>     <error to="fail"/> </action>  

but not work. have better solution? (using oozie)


Comments

Popular posts from this blog

java - Run spring boot application error: Cannot instantiate interface org.springframework.context.ApplicationListener -

reactjs - React router and this.props.children - how to pass state to this.props.children -

Excel VBA "Microsoft Windows Common Controls 6.0 (SP6)" Location Changes -