<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: How to change the 'From' address in a workflow notification? in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/how-to-change-the-from-address-in-a-workflow-notification/m-p/250514#M203644</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;All right, I appear to have managed to change this now. It's probably not a &lt;/SPAN&gt;&lt;EM&gt;good&lt;/EM&gt;&lt;SPAN&gt; solution, but at least it now does what I need it to. Here is what I did, in case someone else has a similar problem:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;UL&gt;&lt;LI&gt;Downloaded the Alfresco source code&lt;/LI&gt;&lt;BR /&gt;&lt;LI&gt;Found the source code for the MailActionExecutor class&lt;/LI&gt;&lt;BR /&gt;&lt;LI&gt;Made a new project and copied the MailActionExecutor.java file into it.&lt;/LI&gt;&lt;BR /&gt;&lt;LI&gt;Set references to all the .jar files used by the MailActionExecutor.java class&lt;/LI&gt;&lt;BR /&gt;&lt;LI&gt;Edited the source code so that all "from" email addresses now use a (hardcoded) default address&lt;/LI&gt;&lt;BR /&gt;&lt;LI&gt;Exported the edited MailActionExecutor as a .jar file&lt;/LI&gt;&lt;BR /&gt;&lt;LI&gt;Decompressed my .jar and found the five .class files that were generated&lt;/LI&gt;&lt;BR /&gt;&lt;LI&gt;Used those five files to replace the ones in \tomcat\webapps\alfresco\WEB-INF\lib\alfresco-repository-4.0.c jar (using 7zip)&lt;/LI&gt;&lt;BR /&gt;&lt;LI&gt;Made alfresco-repository-4.0.c read-only to prevent it being overwritten when/if alfresco explodes stuff&lt;/LI&gt;&lt;/UL&gt;&lt;SPAN&gt;Results:&lt;/SPAN&gt;&lt;BR /&gt;&lt;UL&gt;&lt;LI&gt;from addresses in workflow notifications are now the default address, regardless of who creates the workflow&lt;/LI&gt;&lt;BR /&gt;&lt;LI&gt;from addresses in all other e-mails are also the default address, which is an acceptable loss&lt;/LI&gt;&lt;/UL&gt;&lt;SPAN&gt;So, did I neglect anything important that is going to make this solution blow up in my face?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 19 Jan 2012 13:16:29 GMT</pubDate>
    <dc:creator>ksar</dc:creator>
    <dc:date>2012-01-19T13:16:29Z</dc:date>
    <item>
      <title>How to change the 'From' address in a workflow notification?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-to-change-the-from-address-in-a-workflow-notification/m-p/250508#M203638</link>
      <description>Hello, everyone. What currently happens: - a user creates a new workflow. Alfresco sends a notification to everyone who needs to be notified. The e-mail address of the workflow creator is used as the sender.What I need to happen:- a user creates a new workflow. Alfresco sends a notification to every</description>
      <pubDate>Thu, 12 Jan 2012 12:26:16 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-to-change-the-from-address-in-a-workflow-notification/m-p/250508#M203638</guid>
      <dc:creator>ksar</dc:creator>
      <dc:date>2012-01-12T12:26:16Z</dc:date>
    </item>
    <item>
      <title>Re: How to change the 'From' address in a workflow notification?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-to-change-the-from-address-in-a-workflow-notification/m-p/250509#M203639</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;You will need to change the Mail Action Executor class.&amp;nbsp; Or replace it with your own version.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This is a known issue.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Jan 2012 12:44:45 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-to-change-the-from-address-in-a-workflow-notification/m-p/250509#M203639</guid>
      <dc:creator>mrogers</dc:creator>
      <dc:date>2012-01-12T12:44:45Z</dc:date>
    </item>
    <item>
      <title>Re: How to change the 'From' address in a workflow notification?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-to-change-the-from-address-in-a-workflow-notification/m-p/250510#M203640</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;You will need to change the Mail Action Executor class.&amp;nbsp; Or replace it with your own version.&lt;BR /&gt;&lt;BR /&gt;This is a known issue.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you. Is this something that can be changed in an existing installation of Alfresco? If so, which file(s) would I have to change?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Jan 2012 12:56:46 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-to-change-the-from-address-in-a-workflow-notification/m-p/250510#M203640</guid>
      <dc:creator>ksar</dc:creator>
      <dc:date>2012-01-12T12:56:46Z</dc:date>
    </item>
    <item>
      <title>Re: How to change the 'From' address in a workflow notification?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-to-change-the-from-address-in-a-workflow-notification/m-p/250511#M203641</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Override "mail" bean.&amp;nbsp;&amp;nbsp; With your own MailActionExecuter.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Jan 2012 13:13:14 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-to-change-the-from-address-in-a-workflow-notification/m-p/250511#M203641</guid>
      <dc:creator>mrogers</dc:creator>
      <dc:date>2012-01-12T13:13:14Z</dc:date>
    </item>
    <item>
      <title>Re: How to change the 'From' address in a workflow notification?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-to-change-the-from-address-in-a-workflow-notification/m-p/250512#M203642</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Jan 2012 13:19:01 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-to-change-the-from-address-in-a-workflow-notification/m-p/250512#M203642</guid>
      <dc:creator>ksar</dc:creator>
      <dc:date>2012-01-12T13:19:01Z</dc:date>
    </item>
    <item>
      <title>Re: How to change the 'From' address in a workflow notification?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-to-change-the-from-address-in-a-workflow-notification/m-p/250513#M203643</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;All right, so over the past few days, I have tried to figure out how to do this. Unsuccessfully.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I downloaded the Alfresco SDK, used it to make my own custom MailActionExecutorOverride class, dropped the .jar into the Alfresco installation's lib folders (all of them, since I couldn't figure out which one was the right one) and then specified it to be used in the mail bean (outboundSMTP-context.xml) instead of the original MailActionExecutor. After some debugging, Alfresco started without Exceptions produced by my custom class showing up in the log. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;However, Alfresco is still using the original org.alfresco.repo.action.executer.MailActionExecuter, as I could see in an Exception log. It is also still using the users' e-mail addresses.&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have no idea how to actually override the existing org.alfresco.repo.action.executer.MailActionExecuter class, if that is indeed what I have to do.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Before being assigned to this task, I had no prior knowledge of Tomcat, Alfresco, or Spring, so I am currently completely lost.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Jan 2012 11:52:13 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-to-change-the-from-address-in-a-workflow-notification/m-p/250513#M203643</guid>
      <dc:creator>ksar</dc:creator>
      <dc:date>2012-01-18T11:52:13Z</dc:date>
    </item>
    <item>
      <title>Re: How to change the 'From' address in a workflow notification?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-to-change-the-from-address-in-a-workflow-notification/m-p/250514#M203644</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;All right, I appear to have managed to change this now. It's probably not a &lt;/SPAN&gt;&lt;EM&gt;good&lt;/EM&gt;&lt;SPAN&gt; solution, but at least it now does what I need it to. Here is what I did, in case someone else has a similar problem:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;UL&gt;&lt;LI&gt;Downloaded the Alfresco source code&lt;/LI&gt;&lt;BR /&gt;&lt;LI&gt;Found the source code for the MailActionExecutor class&lt;/LI&gt;&lt;BR /&gt;&lt;LI&gt;Made a new project and copied the MailActionExecutor.java file into it.&lt;/LI&gt;&lt;BR /&gt;&lt;LI&gt;Set references to all the .jar files used by the MailActionExecutor.java class&lt;/LI&gt;&lt;BR /&gt;&lt;LI&gt;Edited the source code so that all "from" email addresses now use a (hardcoded) default address&lt;/LI&gt;&lt;BR /&gt;&lt;LI&gt;Exported the edited MailActionExecutor as a .jar file&lt;/LI&gt;&lt;BR /&gt;&lt;LI&gt;Decompressed my .jar and found the five .class files that were generated&lt;/LI&gt;&lt;BR /&gt;&lt;LI&gt;Used those five files to replace the ones in \tomcat\webapps\alfresco\WEB-INF\lib\alfresco-repository-4.0.c jar (using 7zip)&lt;/LI&gt;&lt;BR /&gt;&lt;LI&gt;Made alfresco-repository-4.0.c read-only to prevent it being overwritten when/if alfresco explodes stuff&lt;/LI&gt;&lt;/UL&gt;&lt;SPAN&gt;Results:&lt;/SPAN&gt;&lt;BR /&gt;&lt;UL&gt;&lt;LI&gt;from addresses in workflow notifications are now the default address, regardless of who creates the workflow&lt;/LI&gt;&lt;BR /&gt;&lt;LI&gt;from addresses in all other e-mails are also the default address, which is an acceptable loss&lt;/LI&gt;&lt;/UL&gt;&lt;SPAN&gt;So, did I neglect anything important that is going to make this solution blow up in my face?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Jan 2012 13:16:29 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-to-change-the-from-address-in-a-workflow-notification/m-p/250514#M203644</guid>
      <dc:creator>ksar</dc:creator>
      <dc:date>2012-01-19T13:16:29Z</dc:date>
    </item>
    <item>
      <title>Re: How to change the 'From' address in a workflow notification?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-to-change-the-from-address-in-a-workflow-notification/m-p/250515#M203645</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I attempted to followed Ksar's steps (dubiously, as I haven't touched real java, only js up till now) and came up with this -&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;// set the from address&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; String fromActualUser = null;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if (fromPerson != null)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; fromActualUser = (String) nodeService.getProperty(fromPerson, ContentModel.PROP_EMAIL);&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; String from = (String)ruleAction.getParameterValue(PARAM_FROM);&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if (from == null || from.length() == 0)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;if (fromActualUser != null &amp;amp;&amp;amp; fromActualUser.length() != 0)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; message.setFrom(fromActualUser);&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; else&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;message.setFrom(fromAddress);&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;else&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;{&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;message.setFrom(from);&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;}&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;SPAN&gt;which, to me at least, seems like the logic this should have been following in the first place (although I am sure there is a reasoning behind the way it works that is beyond my own grok)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Essentially, the logic is as follows-&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;Is the action initiated by a user? &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;If so, get the users email address.&lt;BR /&gt;Was a from address not set manually by this script?&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;If so, did we get a user above who had an email address?&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;If so, use that address&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;If not, use the default from address&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;If not (ie there was a from address set manually) use that&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;BR /&gt;Or, to put it differently-&lt;BR /&gt;Prefer to use a manually set from address from the script if it exists (why would it be set manually if not to be used?)&lt;BR /&gt;If that is lacking, try to get the initiating users email address and use that&lt;BR /&gt;if it wasn't a normal user who initiated it, or it was and they have no email address, use the default (fallback)&lt;BR /&gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;SPAN&gt;But I am not sure how to get this into class files. I found the .java file in the 4.0.d sdk to edit, I copied it into a newly created java project in Eclipse, creating it as a new package file. I chose file&amp;gt;export and exported as a jar, but when I unloaded the jar it only made 2 .class files, and popped a bunch of errors (I had no idea what was meant by setting references to the .jar files used and I believe this is what the errors referenced). I infer it has something to do with the import statements at the beginning of the file, but do not know what I should change them to.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I next created another new project, copied the entire src folder from the SDK into it as and made my changes just to the MailActionExecutor.java file in it, but when I tried to export it the button was disabled, I felt I needed to select more than the src folder to be exported but that was all it gave me under my project and would not drill down any further.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Is anyone able to give any direction on how to get these code changes into alfresco? If not, does anyone know when the from.enabled parameter I have seen in JIRA will show up in community? It seems odd that for so many versions there has been a from parameter in the mail action which is essentially useless!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 Jun 2012 00:23:17 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-to-change-the-from-address-in-a-workflow-notification/m-p/250515#M203645</guid>
      <dc:creator>chrisokelly</dc:creator>
      <dc:date>2012-06-29T00:23:17Z</dc:date>
    </item>
    <item>
      <title>Re: How to change the 'From' address in a workflow notification?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-to-change-the-from-address-in-a-workflow-notification/m-p/250516#M203646</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I suggest you take the class from HEAD.&amp;nbsp;&amp;nbsp; This&amp;nbsp; has been "fixed" for some time.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 Jun 2012 08:37:37 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-to-change-the-from-address-in-a-workflow-notification/m-p/250516#M203646</guid>
      <dc:creator>mrogers</dc:creator>
      <dc:date>2012-06-29T08:37:37Z</dc:date>
    </item>
    <item>
      <title>Re: How to change the 'From' address in a workflow notification?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-to-change-the-from-address-in-a-workflow-notification/m-p/250517#M203647</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Having seen capitalized HEAD in several forums, I get the feeling this is a silly question, but when you say get the class from HEAD, what is the process you're referring to?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Jul 2012 00:01:42 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-to-change-the-from-address-in-a-workflow-notification/m-p/250517#M203647</guid>
      <dc:creator>chrisokelly</dc:creator>
      <dc:date>2012-07-03T00:01:42Z</dc:date>
    </item>
    <item>
      <title>Re: How to change the 'From' address in a workflow notification?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-to-change-the-from-address-in-a-workflow-notification/m-p/250518#M203648</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;HEAD refers to the most current source code of the community edition and is a term from the source code control system being used, namely Subversion. This allows anybody to access the code of Alfresco and look at the most recent features implemented there. By doing a "checkout", you copy the code from the &lt;/SPAN&gt;&lt;A href="http://svn.alfresco.com/" rel="nofollow noopener noreferrer"&gt;Subversion repository&lt;/A&gt;&lt;SPAN&gt; to your local environment. Please also see the &lt;/SPAN&gt;&lt;A href="https://wiki.alfresco.com/wiki/Alfresco_SVN_Development_Environment" rel="nofollow noopener noreferrer"&gt;related wiki article&lt;/A&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards Axel&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Jul 2012 07:58:07 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-to-change-the-from-address-in-a-workflow-notification/m-p/250518#M203648</guid>
      <dc:creator>afaust</dc:creator>
      <dc:date>2012-07-03T07:58:07Z</dc:date>
    </item>
  </channel>
</rss>

