<?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: Using custom email template in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/using-custom-email-template/m-p/263837#M216967</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;You are going to have to post more information than that.&amp;nbsp; What is mailHelper?&amp;nbsp; And is your code java script or java.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;But I can't see a notifyUser method that takes a role.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;What I can see are various versions that take the node ref of the template.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 04 Jan 2013 10:42:49 GMT</pubDate>
    <dc:creator>mrogers</dc:creator>
    <dc:date>2013-01-04T10:42:49Z</dc:date>
    <item>
      <title>Using custom email template</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/using-custom-email-template/m-p/263836#M216966</link>
      <description>I would send an email from java bean.I use the mailHelper.notifyUser(person, nodeRef, from, role);‍After that I add a new template "myTemplate.ftl" in Company Home/Data Dictionary/Email template space, which are the steps if I wanted to use it?How I set "myTemplate.ftl" before to call mailHelper.not</description>
      <pubDate>Fri, 04 Jan 2013 08:36:01 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/using-custom-email-template/m-p/263836#M216966</guid>
      <dc:creator>redbull</dc:creator>
      <dc:date>2013-01-04T08:36:01Z</dc:date>
    </item>
    <item>
      <title>Re: Using custom email template</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/using-custom-email-template/m-p/263837#M216967</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;You are going to have to post more information than that.&amp;nbsp; What is mailHelper?&amp;nbsp; And is your code java script or java.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;But I can't see a notifyUser method that takes a role.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;What I can see are various versions that take the node ref of the template.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Jan 2013 10:42:49 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/using-custom-email-template/m-p/263837#M216967</guid>
      <dc:creator>mrogers</dc:creator>
      <dc:date>2013-01-04T10:42:49Z</dc:date>
    </item>
    <item>
      <title>Re: Using custom email template</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/using-custom-email-template/m-p/263838#M216968</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;…I'm following the source code sample of Jeff Potts, "Alfresco Developer Guide".&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I suppose the code refers to "notifyUser" method of&amp;nbsp; org.alfresco.web.bean.TemplateMailHelperBean.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;So, my code is java. What I would do is send an email (using a custom template) from the bean associated with my custom dialog.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Jan 2013 13:38:21 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/using-custom-email-template/m-p/263838#M216968</guid>
      <dc:creator>redbull</dc:creator>
      <dc:date>2013-01-04T13:38:21Z</dc:date>
    </item>
    <item>
      <title>Re: Using custom email template</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/using-custom-email-template/m-p/263839#M216969</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I do this:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;1) get noderef for "my_custom_template.ftl"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;2) get the ftl ID &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;3) set the custom template…&amp;nbsp; setUsingTemplate(custom_ftl_ID)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;4) set the email subject …..setSubject("this is the email subject")&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;5) send the email ….. notifyUser(………)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;It seem to work&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;By&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Jan 2013 14:56:46 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/using-custom-email-template/m-p/263839#M216969</guid>
      <dc:creator>redbull</dc:creator>
      <dc:date>2013-01-11T14:56:46Z</dc:date>
    </item>
  </channel>
</rss>

