<?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: Is it possible to send an eMail when an user is created? in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/is-it-possible-to-send-an-email-when-an-user-is-created/m-p/11979#M5291</link>
    <description>&lt;P&gt;hello &lt;U&gt;&lt;SPAN class="UserName lia-user-name lia-user-rank-Established-Member lia-component-message-view-widget-author-username"&gt;&lt;A href="https://hub.alfresco.com/t5/user/viewprofilepage/user-id/6503" target="_self" rel="nofollow noopener noreferrer"&gt;&lt;SPAN class=""&gt;vidhipanchal&lt;/SPAN&gt;&lt;/A&gt;&lt;/SPAN&gt;&lt;/U&gt; i real need your help in customizing Alfresco Workflow. Would real appreciate if you give me your email so that you can give me some help. My email is georgejslugendo@gmail.com. Its urgent&lt;/P&gt;</description>
    <pubDate>Wed, 05 Feb 2020 12:08:38 GMT</pubDate>
    <dc:creator>georgernho</dc:creator>
    <dc:date>2020-02-05T12:08:38Z</dc:date>
    <item>
      <title>Is it possible to send an eMail when an user is created?</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/is-it-possible-to-send-an-email-when-an-user-is-created/m-p/11970#M5282</link>
      <description>I'd like to send a notification mail to an user if it is created by the adminstrative user to the users email address.</description>
      <pubDate>Tue, 16 May 2017 16:48:50 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/is-it-possible-to-send-an-email-when-an-user-is-created/m-p/11970#M5282</guid>
      <dc:creator>spawn</dc:creator>
      <dc:date>2017-05-16T16:48:50Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to send an eMail when an user is created?</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/is-it-possible-to-send-an-email-when-an-user-is-created/m-p/11971#M5283</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;There is no default functionality for this, but technically you could set up a rule on the people container node. This is not possible through the UI though. You could use content bootstrapping via a ImporterModuleComponent to load the rule set on Alfresco start. You would only have to create and export the rule set on another node (a folder where you can use the default UI) first. For exporting, you probably have to use the JavaScript Console to trigger the action since it is not exposed in the UI as well. JavaScript Console is also an alternative to using an ImporterModuleComponent to bootstrap / apply the rule set to the people container.&lt;/P&gt;&lt;P&gt;All in all you can see that it is possible though not one of the simpler customisations to apply to Alfresco.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 May 2017 17:27:36 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/is-it-possible-to-send-an-email-when-an-user-is-created/m-p/11971#M5283</guid>
      <dc:creator>afaust</dc:creator>
      <dc:date>2017-05-16T17:27:36Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to send an eMail when an user is created?</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/is-it-possible-to-send-an-email-when-an-user-is-created/m-p/11972#M5284</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Axels answer inspired me to another "inglorious workaround". You can also define a "onCreate" rule on the "User Homes" folder. This can be done via alfresco share.&lt;/P&gt;&lt;P&gt;This only works, if you are using the default user folder mechanism (flat style) and I don't know if it is working on background ldap-sync.&amp;nbsp;&lt;/P&gt;&lt;P&gt;This also could cause problems if you are bulk syncing/creating users - so first test it...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For getting more logic in your rule, you could execute a rule-script. I provide just a snippet for some of your demands:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="language-javascript line-numbers"&gt;&lt;CODE&gt;&lt;SPAN class="keyword token"&gt;function&lt;/SPAN&gt; &lt;SPAN class="token function"&gt;sendMailTo&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;toAdr&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; subject&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; mailtext&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt; &lt;SPAN class="punctuation token"&gt;{&lt;/SPAN&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;SPAN class="keyword token"&gt;var&lt;/SPAN&gt; mail&lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt;actions&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;&lt;SPAN class="token function"&gt;create&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="string token"&gt;"mail"&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;mail&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;parameters&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;to&lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt;toAdr&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;mail&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;parameters&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;subject&lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt;subject&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;mail&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;parameters&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;&lt;SPAN class="keyword token"&gt;from&lt;/SPAN&gt;&lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt;&lt;SPAN class="string token"&gt;"&amp;gt;your alfresco email address&amp;gt;"&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;mail&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;parameters&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;template&lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt;&lt;SPAN class="keyword token"&gt;null&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;mail&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;parameters&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;text&lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt;mailtext&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;mail&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;&lt;SPAN class="token function"&gt;execute&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;document&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN class="punctuation token"&gt;}&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN class="keyword token"&gt;function&lt;/SPAN&gt; &lt;SPAN class="token function"&gt;main&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt; &lt;SPAN class="punctuation token"&gt;{&lt;/SPAN&gt;&lt;BR /&gt;&amp;nbsp; &lt;SPAN class="keyword token"&gt;var&lt;/SPAN&gt; owner&lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt;document&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;&lt;SPAN class="token function"&gt;getOwner&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;&lt;BR /&gt;&amp;nbsp; &lt;SPAN class="keyword token"&gt;var&lt;/SPAN&gt; userNode&lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt;people&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;&lt;SPAN class="token function"&gt;getPerson&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;owner&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;&lt;BR /&gt;&amp;nbsp; &lt;SPAN class="keyword token"&gt;var&lt;/SPAN&gt; mailAdr&lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt;userNode&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;properties&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;email&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;&lt;BR /&gt;&amp;nbsp; &lt;SPAN class="keyword token"&gt;var&lt;/SPAN&gt; mailtext&lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt;&lt;SPAN class="string token"&gt;"Your useraccount was created."&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;&lt;BR /&gt;&amp;nbsp; &lt;SPAN class="token function"&gt;sendMail&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;mailAdr&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; &lt;SPAN class="string token"&gt;"Alfresco Useraccount"&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; mailtext&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN class="punctuation token"&gt;}&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN class="token function"&gt;main&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;&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;/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;P&gt;&lt;/P&gt;&lt;P&gt;...Just hacked it together from snippets I used - you would have to adopt, test and improve it...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 May 2017 05:23:43 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/is-it-possible-to-send-an-email-when-an-user-is-created/m-p/11972#M5284</guid>
      <dc:creator>mehe</dc:creator>
      <dc:date>2017-05-17T05:23:43Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to send an eMail when an user is created?</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/is-it-possible-to-send-an-email-when-an-user-is-created/m-p/11973#M5285</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Nice hack. &lt;/P&gt;&lt;P&gt;Is it also possible to send user information (like: username, password, email-address)? i think username and email-address is not the problem but password? Or is alfresco planing an module that will do that for me &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;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your help&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 May 2017 07:56:49 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/is-it-possible-to-send-an-email-when-an-user-is-created/m-p/11973#M5285</guid>
      <dc:creator>spawn</dc:creator>
      <dc:date>2017-05-17T07:56:49Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to send an eMail when an user is created?</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/is-it-possible-to-send-an-email-when-an-user-is-created/m-p/11974#M5286</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You could create an admin WebScript or an Aikau or Angular SPA (single page app) that creates the user, sets a random password and sends the email to the user. If your WebScript or SPA generates the password, it's also possible to send it via email. But you have to create the users with your (see above &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;) created admin tool.&lt;/P&gt;&lt;P&gt;if you're using alfresco 5.2 there is a simple REST API to create your user, including plaintext password. See:&amp;nbsp;&lt;A class="link-titled" href="https://api-explorer.alfresco.com/api-explorer/#!/people/createPerson" title="https://api-explorer.alfresco.com/api-explorer/#!/people/createPerson" rel="nofollow noopener noreferrer"&gt;Alfresco Content Services REST API Explorer&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but there should be an addon or something... wasn't there something created by ziaconsult?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 May 2017 08:11:43 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/is-it-possible-to-send-an-email-when-an-user-is-created/m-p/11974#M5286</guid>
      <dc:creator>mehe</dc:creator>
      <dc:date>2017-05-17T08:11:43Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to send an eMail when an user is created?</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/is-it-possible-to-send-an-email-when-an-user-is-created/m-p/11975#M5287</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You will not be able to send passwords either way since they have already been MD4 hashed by that point or may not exist at all (in case of sync from external directories). In order to send emails when local users are created AND include the password, you would need to hook yourself as an AOP interceptor on the (Mutable)AuthenticationService bean, though this would be sort of a non-standard customisation.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 May 2017 08:12:14 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/is-it-possible-to-send-an-email-when-an-user-is-created/m-p/11975#M5287</guid>
      <dc:creator>afaust</dc:creator>
      <dc:date>2017-05-17T08:12:14Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to send an eMail when an user is created?</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/is-it-possible-to-send-an-email-when-an-user-is-created/m-p/11976#M5288</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You could add all properties of the node (in this case userNode) that are returned by getPerson:&lt;/P&gt;&lt;P&gt;firstName, lastName, userName, email, organzationId, locale..&lt;/P&gt;&lt;P&gt;but not the password - see Axels answer.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 May 2017 05:38:12 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/is-it-possible-to-send-an-email-when-an-user-is-created/m-p/11976#M5288</guid>
      <dc:creator>mehe</dc:creator>
      <dc:date>2017-05-18T05:38:12Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to send an eMail when an user is created?</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/is-it-possible-to-send-an-email-when-an-user-is-created/m-p/11977#M5289</link>
      <description>&lt;P&gt;Can I use the email template, which is in Repository &amp;gt; Data Dictionary &amp;gt; Email Templates &amp;gt; invite &amp;gt; new-user-email.html.ftl&lt;BR /&gt;&lt;BR /&gt;If yes.&lt;BR /&gt;&lt;BR /&gt;How can I do this?&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Tue, 15 Oct 2019 20:03:14 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/is-it-possible-to-send-an-email-when-an-user-is-created/m-p/11977#M5289</guid>
      <dc:creator>guilhermepolica</dc:creator>
      <dc:date>2019-10-15T20:03:14Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to send an eMail when an user is created?</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/is-it-possible-to-send-an-email-when-an-user-is-created/m-p/11978#M5290</link>
      <description>&lt;P&gt;Yes. You can do it in the following way using javascript&lt;/P&gt;&lt;PRE&gt;mail.parameters.template = companyhome.childByNamePath("your template path");&lt;/PRE&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Vidhi&lt;/P&gt;</description>
      <pubDate>Wed, 23 Oct 2019 11:41:05 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/is-it-possible-to-send-an-email-when-an-user-is-created/m-p/11978#M5290</guid>
      <dc:creator>vidhipanchal</dc:creator>
      <dc:date>2019-10-23T11:41:05Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to send an eMail when an user is created?</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/is-it-possible-to-send-an-email-when-an-user-is-created/m-p/11979#M5291</link>
      <description>&lt;P&gt;hello &lt;U&gt;&lt;SPAN class="UserName lia-user-name lia-user-rank-Established-Member lia-component-message-view-widget-author-username"&gt;&lt;A href="https://hub.alfresco.com/t5/user/viewprofilepage/user-id/6503" target="_self" rel="nofollow noopener noreferrer"&gt;&lt;SPAN class=""&gt;vidhipanchal&lt;/SPAN&gt;&lt;/A&gt;&lt;/SPAN&gt;&lt;/U&gt; i real need your help in customizing Alfresco Workflow. Would real appreciate if you give me your email so that you can give me some help. My email is georgejslugendo@gmail.com. Its urgent&lt;/P&gt;</description>
      <pubDate>Wed, 05 Feb 2020 12:08:38 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/is-it-possible-to-send-an-email-when-an-user-is-created/m-p/11979#M5291</guid>
      <dc:creator>georgernho</dc:creator>
      <dc:date>2020-02-05T12:08:38Z</dc:date>
    </item>
  </channel>
</rss>

