<?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 Notificaciones (mails) Alfresco in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/notificaciones-mails-alfresco/m-p/169540#M122915</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Amigos, he configurado el SMTP, para salida de correo de Alfresco, para que cuando por ejemplo, un usuario almacena algo se notifique via mail que se a subido un archivo a Alfresco.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;SPAN&gt;Ahora tengo una pregunta, he configurado una regla, para que cuando se ingresa un contenido a un espacio notifique via mail dicha acción,&amp;nbsp; y este mail vaya siempre a &lt;/SPAN&gt;&lt;A class="jive-link-email-small" href="mailto:xxx@mail.com" rel="nofollow noopener noreferrer"&gt;xxx@mail.com&lt;/A&gt;&lt;SPAN&gt;, y en efecto envia la notificacion, pero por ejemplo si me conecto con el usuario "pepito" y subo un contenido al espacio que tiene la regla , el mail de notificacion llega del mail de pepito osea &lt;/SPAN&gt;&lt;A class="jive-link-email-small" href="mailto:pepito@mail.com" rel="nofollow noopener noreferrer"&gt;pepito@mail.com&lt;/A&gt;&lt;SPAN&gt;, si me conecto con el usuario "maria" la notificacion llega del mail de maria osea &lt;/SPAN&gt;&lt;A class="jive-link-email-small" href="mailto:maria@mail.com" rel="nofollow noopener noreferrer"&gt;maria@mail.com&lt;/A&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;SPAN&gt;Quiero saber como hago para que sea un unico mail el que envia la notificacion, sea cual sea el usuario que se conecte y guarde un contenido en el espacio que tiene la regla siempre sea que el mail se envie de &lt;/SPAN&gt;&lt;A class="jive-link-email-small" href="mailto:info@mail.com" rel="nofollow noopener noreferrer"&gt;info@mail.com&lt;/A&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;EN espera de su pronta ayuda y colaboracion&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 10 Aug 2011 21:29:45 GMT</pubDate>
    <dc:creator>mgrb_oso</dc:creator>
    <dc:date>2011-08-10T21:29:45Z</dc:date>
    <item>
      <title>Notificaciones (mails) Alfresco</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/notificaciones-mails-alfresco/m-p/169540#M122915</link>
      <description>Amigos, he configurado el SMTP, para salida de correo de Alfresco, para que cuando por ejemplo, un usuario almacena algo se notifique via mail que se a subido un archivo a Alfresco.Ahora tengo una pregunta, he configurado una regla, para que cuando se ingresa un contenido a un espacio notifique via</description>
      <pubDate>Wed, 10 Aug 2011 21:29:45 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/notificaciones-mails-alfresco/m-p/169540#M122915</guid>
      <dc:creator>mgrb_oso</dc:creator>
      <dc:date>2011-08-10T21:29:45Z</dc:date>
    </item>
    <item>
      <title>Re: Notificaciones (mails) Alfresco</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/notificaciones-mails-alfresco/m-p/169541#M122916</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Una solucion puede ser crear una regla que ejecute un script de envio de correo tal como este :&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;// create mail action&lt;BR /&gt;var mail = actions.create("mail");&lt;BR /&gt;mail.parameters.to = "davidc@alfresco.com";&lt;BR /&gt;mail.parameters.subject = "Hello from JavaScript";&lt;BR /&gt;mail.parameters.from = "davidc@alfresco.com";&lt;BR /&gt;mail.parameters.template = root.childByNamePath("Company Home/Data Dictionary/Email Templates/notify_user_email.ftl");&lt;BR /&gt;mail.parameters.text = "some text, in case template is not found";&lt;BR /&gt;// execute action against a document&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;BR /&gt;mail.execute(document);&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;/CODE&gt;&lt;/PRE&gt;&lt;SPAN&gt;Como puedes observar, en los parametros del correo se establece el to y el from de forma manual.&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://wiki.alfresco.com/wiki/3.0_JavaScript_API#Actions_API" rel="nofollow noopener noreferrer"&gt;http://wiki.alfresco.com/wiki/3.0_JavaScript_API#Actions_API&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Saludos!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Aug 2011 12:26:47 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/notificaciones-mails-alfresco/m-p/169541#M122916</guid>
      <dc:creator>venzia</dc:creator>
      <dc:date>2011-08-11T12:26:47Z</dc:date>
    </item>
  </channel>
</rss>

