<?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: send email with xml attatchment in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/send-email-with-xml-attatchment/m-p/286698#M239828</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;The standard mail action does not allow attachments. You need to create a derivative. There is one on the internet which I downloaded and it works fine with 4.2c but I really can't remember where I got it from.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Happy to share it with your but I can't attach it to this post so send me a message with an email address &amp;amp; I will forward it on.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Alternatively, Google for "alfresco mail with attachments action" and you should find it.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;That said, this allows you to attach an Alfresco document, so you would have to create the XML document in Javascript, save it to the reporsitory and then you could attach it. Thats easy enough to do with a couple of extra lines of code in your example above.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 11 Sep 2013 03:04:00 GMT</pubDate>
    <dc:creator>rjohnson</dc:creator>
    <dc:date>2013-09-11T03:04:00Z</dc:date>
    <item>
      <title>send email with xml attatchment</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/send-email-with-xml-attatchment/m-p/286697#M239827</link>
      <description>I am using alfresco 4.2.c. I want to create a rule which triggers a script that will send an email with xml file that contains all properties of that document that was updated. so far I have come across posts which are old and related to version 3.x of alfesco. I need some clarification for version</description>
      <pubDate>Tue, 10 Sep 2013 14:19:11 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/send-email-with-xml-attatchment/m-p/286697#M239827</guid>
      <dc:creator>sharifu</dc:creator>
      <dc:date>2013-09-10T14:19:11Z</dc:date>
    </item>
    <item>
      <title>Re: send email with xml attatchment</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/send-email-with-xml-attatchment/m-p/286698#M239828</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;The standard mail action does not allow attachments. You need to create a derivative. There is one on the internet which I downloaded and it works fine with 4.2c but I really can't remember where I got it from.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Happy to share it with your but I can't attach it to this post so send me a message with an email address &amp;amp; I will forward it on.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Alternatively, Google for "alfresco mail with attachments action" and you should find it.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;That said, this allows you to attach an Alfresco document, so you would have to create the XML document in Javascript, save it to the reporsitory and then you could attach it. Thats easy enough to do with a couple of extra lines of code in your example above.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Sep 2013 03:04:00 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/send-email-with-xml-attatchment/m-p/286698#M239828</guid>
      <dc:creator>rjohnson</dc:creator>
      <dc:date>2013-09-11T03:04:00Z</dc:date>
    </item>
    <item>
      <title>Re: send email with xml attatchment</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/send-email-with-xml-attatchment/m-p/286699#M239829</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I have come across &lt;/SPAN&gt;&lt;A href="http://savicprvoslav.blogspot.co.uk/2010/10/send-html-email-from-alfresco-33-with.html" rel="nofollow noopener noreferrer"&gt;http://savicprvoslav.blogspot.co.uk/2010/10/send-html-email-from-alfresco-33-with.html&lt;/A&gt;&lt;SPAN&gt; which i managed to get working however on line 364 `message.addAttachment("test.pdf", file);` i want to replace test.pdf with the filename of the node being attatched. how would i do this?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Sep 2013 09:21:08 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/send-email-with-xml-attatchment/m-p/286699#M239829</guid>
      <dc:creator>sharifu</dc:creator>
      <dc:date>2013-09-11T09:21:08Z</dc:date>
    </item>
    <item>
      <title>Re: send email with xml attatchment</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/send-email-with-xml-attatchment/m-p/286700#M239830</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I used the same code as the basis for my add-on but it looks like I edited it. I cannot post it here its to big. Message me and I will email it you.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Please note this build was run against Alfresco 4.0d; I have never used anything less than 4.0a.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Sep 2013 09:44:00 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/send-email-with-xml-attatchment/m-p/286700#M239830</guid>
      <dc:creator>rjohnson</dc:creator>
      <dc:date>2013-09-13T09:44:00Z</dc:date>
    </item>
  </channel>
</rss>

