<?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 Need to send Image as part of mail using Webscript in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/need-to-send-image-as-part-of-mail-using-webscript/m-p/115722#M32117</link>
    <description>&lt;P&gt;I am trying to add an image in the mail which is being triggered using a webscript(written in java). I have given the following path in the ftl file (mail template) -&amp;nbsp;${shareUrl}/res/components/images/abc.png, also have kept the image on the path - tomcat/webapps/share/components/images.&lt;/P&gt;&lt;P&gt;I am new to alfresco, not sure for some reason the image is not being rendered in the mail. A blank block appears in the mail when sent.&amp;nbsp; Is there any other path that I would need to give in the ftl?&lt;/P&gt;</description>
    <pubDate>Wed, 20 Nov 2019 04:31:59 GMT</pubDate>
    <dc:creator>Sanjana_17</dc:creator>
    <dc:date>2019-11-20T04:31:59Z</dc:date>
    <item>
      <title>Need to send Image as part of mail using Webscript</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/need-to-send-image-as-part-of-mail-using-webscript/m-p/115722#M32117</link>
      <description>&lt;P&gt;I am trying to add an image in the mail which is being triggered using a webscript(written in java). I have given the following path in the ftl file (mail template) -&amp;nbsp;${shareUrl}/res/components/images/abc.png, also have kept the image on the path - tomcat/webapps/share/components/images.&lt;/P&gt;&lt;P&gt;I am new to alfresco, not sure for some reason the image is not being rendered in the mail. A blank block appears in the mail when sent.&amp;nbsp; Is there any other path that I would need to give in the ftl?&lt;/P&gt;</description>
      <pubDate>Wed, 20 Nov 2019 04:31:59 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/need-to-send-image-as-part-of-mail-using-webscript/m-p/115722#M32117</guid>
      <dc:creator>Sanjana_17</dc:creator>
      <dc:date>2019-11-20T04:31:59Z</dc:date>
    </item>
    <item>
      <title>Re: Need to send Image as part of mail using Webscript</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/need-to-send-image-as-part-of-mail-using-webscript/m-p/115723#M32118</link>
      <description>&lt;P&gt;You could try couple of tests to ensure whether image is really accessible or not.&lt;/P&gt;
&lt;P&gt;1- When you have configured image in ftl file as:&amp;nbsp;&lt;SPAN&gt;${shareUrl}/res/components/images/abc.png&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;Check if you are able to access it directly via browser. e.g. if your share is running on localhost, the URL would be&amp;nbsp;&lt;SPAN&gt;http://localhost:8080/share/res/components/images/abc.png. Hit the URL in browser and see if image is loading properly.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;2- If you are using ssl and your share is running e.g. https://&amp;lt;somehost&amp;gt;/share then check, what URL you actually get when email is recieved. You can save the email as html file and inspect the URL.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Make the corrections accordingly.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 20 Nov 2019 13:51:38 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/need-to-send-image-as-part-of-mail-using-webscript/m-p/115723#M32118</guid>
      <dc:creator>abhinavmishra14</dc:creator>
      <dc:date>2019-11-20T13:51:38Z</dc:date>
    </item>
    <item>
      <title>Re: Need to send Image as part of mail using Webscript</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/need-to-send-image-as-part-of-mail-using-webscript/m-p/115724#M32119</link>
      <description>&lt;P&gt;Thanks for the help. It is working fine now.&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;</description>
      <pubDate>Thu, 21 Nov 2019 09:19:46 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/need-to-send-image-as-part-of-mail-using-webscript/m-p/115724#M32119</guid>
      <dc:creator>Sanjana_17</dc:creator>
      <dc:date>2019-11-21T09:19:46Z</dc:date>
    </item>
  </channel>
</rss>

