<?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 Sending Emails: No mimeContent in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/sending-emails-no-mimecontent/m-p/287577#M240707</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm trying to send periodical emails within a workflow. I've added the following code:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;javascript&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;var mail = actions.create("mail");&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;mail.parameters.to = bpm_assignee.properties["cm:email"];&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;mail.parameters.subject = "Review";&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;SPAN&gt;mail.parameters.from = "&lt;/SPAN&gt;&lt;A class="jive-link-email-small" href="mailto:xx@xx.de" rel="nofollow noopener noreferrer"&gt;xx@xx.de&lt;/A&gt;&lt;SPAN&gt;";&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;mail.parameters.text = "Workflow: " + bpm_workflowDescription;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;mail.execute(bpm_package);&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;/javascript&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The code is executet correctly, but there seems to be an error with the content of the mail. I'm getting the following Mail errore:&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&lt;BR /&gt;[org.alfresco.repo.action.executer.MailActionExecuter] [pool-15-thread-2] Failed to send email to xx@yy.de&lt;BR /&gt;org.springframework.mail.MailSendException: Failed messages: javax.mail.MessagingException: No MimeMessage content; message exception details (1) are:&lt;BR /&gt;Failed message 1:&lt;BR /&gt;javax.mail.MessagingException: No MimeMessage content&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;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Can anybody help me?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 24 Jun 2015 17:22:22 GMT</pubDate>
    <dc:creator>moffel</dc:creator>
    <dc:date>2015-06-24T17:22:22Z</dc:date>
    <item>
      <title>Sending Emails: No mimeContent</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/sending-emails-no-mimecontent/m-p/287577#M240707</link>
      <description>Hi,I'm trying to send periodical emails within a workflow. I've added the following code:&amp;lt;javascript&amp;gt;var mail = actions.create("mail");mail.parameters.to = bpm_assignee.properties["cm:email"];mail.parameters.subject = "Review";mail.parameters.from = "xx@xx.de";mail.parameters.text = "Workflow:</description>
      <pubDate>Wed, 24 Jun 2015 17:22:22 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/sending-emails-no-mimecontent/m-p/287577#M240707</guid>
      <dc:creator>moffel</dc:creator>
      <dc:date>2015-06-24T17:22:22Z</dc:date>
    </item>
    <item>
      <title>Re: Sending Emails: No mimeContent</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/sending-emails-no-mimecontent/m-p/287578#M240708</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Moffel,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am facing exactly the same error, can you please let me know the solution for this ??&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Jul 2016 12:42:47 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/sending-emails-no-mimecontent/m-p/287578#M240708</guid>
      <dc:creator>hiten_rastogi1</dc:creator>
      <dc:date>2016-07-06T12:42:47Z</dc:date>
    </item>
    <item>
      <title>Re: Sending Emails: No mimeContent</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/sending-emails-no-mimecontent/m-p/287579#M240709</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;For anyone facing the same issue please do the following to get it working:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;1. Add the following in the mail script &amp;lt;strong&amp;gt;mail.parameters.text = "test";&amp;lt;/strong&amp;gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;2. Add &amp;lt;strong&amp;gt;mail.header=&amp;lt;/strong&amp;gt; in my alfresco-global.properties email configuration &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Redeploy the workflow to get it working.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Hiten Rastogi&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Jul 2016 11:00:24 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/sending-emails-no-mimecontent/m-p/287579#M240709</guid>
      <dc:creator>hiten_rastogi1</dc:creator>
      <dc:date>2016-07-07T11:00:24Z</dc:date>
    </item>
  </channel>
</rss>

