<?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 Notificação por e-mail in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/notifica%C3%A7%C3%A3o-por-e-mail/m-p/81651#M25132</link>
    <description>&lt;P&gt;&lt;FONT&gt;&lt;FONT&gt;&lt;FONT&gt;&lt;FONT&gt;&lt;FONT&gt;&lt;FONT&gt;&lt;FONT&gt;&lt;FONT&gt;Pessoal, alguém pode me dizer se é possível receber notificacões por email quando uma tarefa - lista de tarefas e não tiver fluxo de trabalho - para designar um usuário e também quando tiver um novo tópico nas discussões?&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 26 Nov 2019 20:30:52 GMT</pubDate>
    <dc:creator>bpmoall</dc:creator>
    <dc:date>2019-11-26T20:30:52Z</dc:date>
    <item>
      <title>Notificação por e-mail</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/notifica%C3%A7%C3%A3o-por-e-mail/m-p/81651#M25132</link>
      <description>&lt;P&gt;&lt;FONT&gt;&lt;FONT&gt;&lt;FONT&gt;&lt;FONT&gt;&lt;FONT&gt;&lt;FONT&gt;&lt;FONT&gt;&lt;FONT&gt;Pessoal, alguém pode me dizer se é possível receber notificacões por email quando uma tarefa - lista de tarefas e não tiver fluxo de trabalho - para designar um usuário e também quando tiver um novo tópico nas discussões?&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 26 Nov 2019 20:30:52 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/notifica%C3%A7%C3%A3o-por-e-mail/m-p/81651#M25132</guid>
      <dc:creator>bpmoall</dc:creator>
      <dc:date>2019-11-26T20:30:52Z</dc:date>
    </item>
    <item>
      <title>Re: Notificação por e-mail</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/notifica%C3%A7%C3%A3o-por-e-mail/m-p/81652#M25133</link>
      <description>&lt;P&gt;I am not completely sure whether this is possible out of the box but You can implement a scheduled job to achieve this requirement. You can check the user's tasks and if the count is 0, send the email notification using MailActionExecutor.&lt;/P&gt;
&lt;P&gt;&lt;U&gt;You can refer this documentation which can guide you about implementing a scheduled job:&lt;/U&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://docs.alfresco.com/5.2/references/dev-extension-points-scheduled-jobs.html" target="_blank" rel="nofollow noopener noreferrer"&gt;https://docs.alfresco.com/5.2/references/dev-extension-points-scheduled-jobs.html&lt;/A&gt;&lt;BR /&gt;&lt;A href="https://hub.alfresco.com/t5/alfresco-content-services-blog/creating-scheduled-job-in-alfresco/ba-p/288466" target="_blank" rel="nofollow noopener noreferrer"&gt;https://hub.alfresco.com/t5/alfresco-content-services-blog/creating-scheduled-job-in-alfresco/ba-p/288466&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;You would be required to set following properties in alfresco-global.properties in order to enable outbound email.&lt;/P&gt;
&lt;P&gt;E.g.&lt;/P&gt;
&lt;P&gt;mail.host=smtp.yourcompany.com&lt;BR /&gt;mail.port=25&lt;BR /&gt;mail.encoding=UTF-8&lt;/P&gt;
&lt;P&gt;Refer doc: &lt;A href="https://docs.alfresco.com/6.1/concepts/email.html" target="_blank" rel="nofollow noopener noreferrer"&gt;https://docs.alfresco.com/6.1/concepts/email.html&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;U&gt;Sample code to send email:&lt;/U&gt;&lt;/P&gt;

&lt;PRE&gt;ActionService actionService = serviceRegistry.getActionService();
Action mailAction = actionService.createAction(MailActionExecuter.NAME);
mailAction.setParameterValue(MailActionExecuter.PARAM_SUBJECT, subject);
mailAction.setParameterValue(MailActionExecuter.PARAM_TO, email);
actionService.executeAction(mailAction, null);&lt;/PRE&gt;</description>
      <pubDate>Tue, 26 Nov 2019 21:25:25 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/notifica%C3%A7%C3%A3o-por-e-mail/m-p/81652#M25133</guid>
      <dc:creator>abhinavmishra14</dc:creator>
      <dc:date>2019-11-26T21:25:25Z</dc:date>
    </item>
  </channel>
</rss>

