<?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: Email's attachment from Activiti in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/email-s-attachment-from-activiti/m-p/260912#M214042</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;get the content of the document via contentService &amp;amp; prepare a multipart mail.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Mails in Activiti-WFs within Alfresco are triggered by org.alfresco.repo.workflow.activiti.tasklistener.TaskCreateListener &amp;amp; send via MailAction (org.alfresco.repo.action.executer.MailActionExecuter).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The MailActionExecuter doesn't support attachments, so you'll need to add your own code. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;This might be helpful: send attachments via JavaMailSender: &lt;/SPAN&gt;&lt;A href="http://stackoverflow.com/questions/3177616/how-to-attach-multiple-files-to-an-email-using-javamail" rel="nofollow noopener noreferrer"&gt;http://stackoverflow.com/questions/3177616/how-to-attach-multiple-files-to-an-email-using-javamail&lt;/A&gt;&lt;BR /&gt;&lt;SPAN&gt;Cheers, jan&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 20 Dec 2012 08:53:07 GMT</pubDate>
    <dc:creator>jpfi</dc:creator>
    <dc:date>2012-12-20T08:53:07Z</dc:date>
    <item>
      <title>Email's attachment from Activiti</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/email-s-attachment-from-activiti/m-p/260909#M214039</link>
      <description>Hi everyone,I wonder if it is possible to attach a file in an email from activiti.I figured out that I can get the file's Node Reference and send a link in the email.Looking for the current task's variables into act_ru_variable table, I noticed that it has bpm_package, initiatorhome, companyhome, in</description>
      <pubDate>Thu, 28 Jun 2012 22:08:05 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/email-s-attachment-from-activiti/m-p/260909#M214039</guid>
      <dc:creator>angello0571</dc:creator>
      <dc:date>2012-06-28T22:08:05Z</dc:date>
    </item>
    <item>
      <title>Re: Email's attachment from Activiti</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/email-s-attachment-from-activiti/m-p/260910#M214040</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;bpm_package is a folder that contains every document being routed in the workflow. Iterate of the folder's children to iterate over the documents in the workflow. So, the nodeRef of the first document in the workflow would be:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;bpm_package.children[0].nodeRef&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Jeff&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Jun 2012 22:46:49 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/email-s-attachment-from-activiti/m-p/260910#M214040</guid>
      <dc:creator>jpotts</dc:creator>
      <dc:date>2012-06-28T22:46:49Z</dc:date>
    </item>
    <item>
      <title>Re: Email's attachment from Activiti</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/email-s-attachment-from-activiti/m-p/260911#M214041</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I'm going to try it Jeff, it looks simple &lt;img id="smileyhappy" class="emoticon emoticon-smileyhappy" src="https://connect.hyland.com/i/smilies/16x16_smiley-happy.png" alt="Smiley Happy" title="Smiley Happy" /&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Once more time thank you for your explanation.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Best Regards.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Angello.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Jun 2012 22:58:28 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/email-s-attachment-from-activiti/m-p/260911#M214041</guid>
      <dc:creator>angello0571</dc:creator>
      <dc:date>2012-06-28T22:58:28Z</dc:date>
    </item>
    <item>
      <title>Re: Email's attachment from Activiti</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/email-s-attachment-from-activiti/m-p/260912#M214042</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;get the content of the document via contentService &amp;amp; prepare a multipart mail.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Mails in Activiti-WFs within Alfresco are triggered by org.alfresco.repo.workflow.activiti.tasklistener.TaskCreateListener &amp;amp; send via MailAction (org.alfresco.repo.action.executer.MailActionExecuter).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The MailActionExecuter doesn't support attachments, so you'll need to add your own code. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;This might be helpful: send attachments via JavaMailSender: &lt;/SPAN&gt;&lt;A href="http://stackoverflow.com/questions/3177616/how-to-attach-multiple-files-to-an-email-using-javamail" rel="nofollow noopener noreferrer"&gt;http://stackoverflow.com/questions/3177616/how-to-attach-multiple-files-to-an-email-using-javamail&lt;/A&gt;&lt;BR /&gt;&lt;SPAN&gt;Cheers, jan&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Dec 2012 08:53:07 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/email-s-attachment-from-activiti/m-p/260912#M214042</guid>
      <dc:creator>jpfi</dc:creator>
      <dc:date>2012-12-20T08:53:07Z</dc:date>
    </item>
    <item>
      <title>Re: Email's attachment from Activiti</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/email-s-attachment-from-activiti/m-p/260913#M214043</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi here is MailActionExecuter &lt;/SPAN&gt;&lt;A href="http://svn.alfresco.com/repos/alfresco-open-mirror/alfresco/HEAD/root/projects/repository/source/java/org/alfresco/repo/action/executer/MailActionExecuter.java" rel="nofollow noopener noreferrer"&gt;http://svn.alfresco.com/repos/alfresco-open-mirror/alfresco/HEAD/root/projects/repository/source/java/org/alfresco/repo/action/executer/MailActionExecuter.java&lt;/A&gt;&lt;SPAN&gt;, just add the code for attachment functionallity &lt;img id="smileyhappy" class="emoticon emoticon-smileyhappy" src="https://connect.hyland.com/i/smilies/16x16_smiley-happy.png" alt="Smiley Happy" title="Smiley Happy" /&gt; and configure your class in the appropiate spring xml config file.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If you have any question I can help you &lt;img id="smileywink" class="emoticon emoticon-smileywink" src="https://connect.hyland.com/i/smilies/16x16_smiley-wink.png" alt="Smiley Wink" title="Smiley Wink" /&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 22 Dec 2012 02:46:37 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/email-s-attachment-from-activiti/m-p/260913#M214043</guid>
      <dc:creator>angello0571</dc:creator>
      <dc:date>2012-12-22T02:46:37Z</dc:date>
    </item>
  </channel>
</rss>

