<?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: Sending packageItems as an email attachment in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/sending-packageitems-as-an-email-attachment/m-p/283552#M236682</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thank you so much for your response romschn , I'll try it right now ! Hope getting a good result &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;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 08 Jun 2015 19:24:08 GMT</pubDate>
    <dc:creator>ramymansouri</dc:creator>
    <dc:date>2015-06-08T19:24:08Z</dc:date>
    <item>
      <title>Sending packageItems as an email attachment</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/sending-packageitems-as-an-email-attachment/m-p/283548#M236678</link>
      <description>Good morning,Please, is there any solution for sending packageItems by email at the end of the workflow task ?Thanks.</description>
      <pubDate>Mon, 08 Jun 2015 07:59:50 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/sending-packageitems-as-an-email-attachment/m-p/283548#M236678</guid>
      <dc:creator>ramymansouri</dc:creator>
      <dc:date>2015-06-08T07:59:50Z</dc:date>
    </item>
    <item>
      <title>Re: Sending packageItems as an email attachment</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/sending-packageitems-as-an-email-attachment/m-p/283549#M236679</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;You could surely do that using alfrescojavascript in workflow process definition file &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;or &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;in Workflow action class&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://blog.arvixe.com/alfresco-jbpm-workflow-action-class/" rel="nofollow noopener noreferrer"&gt;http://blog.arvixe.com/alfresco-jbpm-workflow-action-class/&lt;/A&gt;&lt;BR /&gt;&lt;A href="http://blog.arvixe.com/create-listener-class-in-activiti-workflow-of-alfresco/" rel="nofollow noopener noreferrer"&gt;http://blog.arvixe.com/create-listener-class-in-activiti-workflow-of-alfresco/&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Jun 2015 10:58:23 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/sending-packageitems-as-an-email-attachment/m-p/283549#M236679</guid>
      <dc:creator>mitpatoliya</dc:creator>
      <dc:date>2015-06-08T10:58:23Z</dc:date>
    </item>
    <item>
      <title>Re: Sending packageItems as an email attachment</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/sending-packageitems-as-an-email-attachment/m-p/283550#M236680</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thank you mitpatoliya for you quick answer,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I've already created my CustomReview implement TaskListener and I can send email but without attachments because MailActionExecuter doesn't support attachments, and I didn't find a clue for that.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Jun 2015 14:17:45 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/sending-packageitems-as-an-email-attachment/m-p/283550#M236680</guid>
      <dc:creator>ramymansouri</dc:creator>
      <dc:date>2015-06-08T14:17:45Z</dc:date>
    </item>
    <item>
      <title>Re: Sending packageItems as an email attachment</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/sending-packageitems-as-an-email-attachment/m-p/283551#M236681</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I understand you want to send an email with attachment and using MailActionExecuter you are not able to do it.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;One alternative to do it would be as follow - &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;1. Create a bean say MailBean. Inject JavaMailSender to it the way it has been done in MailActionExecuter.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;2. Create a method which will take parameters from, to, cc, bcc, subject, bodyText and File.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;3. Now, create MimeMessage and MimeMessageHelper instances.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;4. Use MimeMessageHeper's addAttachment() method to add an attachment and then send the message.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;5. You can get the MailBean in your task listener by loading it from the spring context.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Hope this helps.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Jun 2015 16:44:27 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/sending-packageitems-as-an-email-attachment/m-p/283551#M236681</guid>
      <dc:creator>romschn</dc:creator>
      <dc:date>2015-06-08T16:44:27Z</dc:date>
    </item>
    <item>
      <title>Re: Sending packageItems as an email attachment</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/sending-packageitems-as-an-email-attachment/m-p/283552#M236682</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thank you so much for your response romschn , I'll try it right now ! Hope getting a good result &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;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Jun 2015 19:24:08 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/sending-packageitems-as-an-email-attachment/m-p/283552#M236682</guid>
      <dc:creator>ramymansouri</dc:creator>
      <dc:date>2015-06-08T19:24:08Z</dc:date>
    </item>
  </channel>
</rss>

