<?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: Save Multiple Attachments Having Same Name in Product Forum</title>
    <link>https://community.blueprism.com/t5/Product-Forum/Save-Multiple-Attachments-Having-Same-Name/m-p/97880#M45792</link>
    <description>&lt;P&gt;Hi Luis,&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;The Email object is inbuilt by my company but the base is taken as MS Outlook VBO only.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Thanks &amp;amp; Regards,&lt;BR /&gt;Pawan Panjwani&lt;/P&gt;</description>
    <pubDate>Wed, 24 May 2023 11:40:47 GMT</pubDate>
    <dc:creator>PawanPanjwani</dc:creator>
    <dc:date>2023-05-24T11:40:47Z</dc:date>
    <item>
      <title>Save Multiple Attachments Having Same Name</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Save-Multiple-Attachments-Having-Same-Name/m-p/97878#M45790</link>
      <description>&lt;P&gt;Hi Community Members,&lt;BR /&gt;&lt;BR /&gt;I have 2 attachments with the exact same name in a single email. I want to save both of these attachments in &lt;STRONG&gt;&lt;SPAN style="font-family: &amp;quot;Calibri&amp;quot;, sans-serif"&gt;C\Temp&lt;/SPAN&gt;&lt;/STRONG&gt; folder, obviously with different names as we can’t save 2 files with the same name in same folder. &lt;BR /&gt;&lt;BR /&gt;I am using Object created by my company but its base is MS Outlook VBO&lt;STRONG&gt;&lt;SPAN style="font-family: &amp;quot;Calibri&amp;quot;, sans-serif"&gt;. &lt;/SPAN&gt;&lt;/STRONG&gt;Below are the steps that&lt;STRONG&gt;&lt;SPAN style="font-family: &amp;quot;Calibri&amp;quot;, sans-serif"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/STRONG&gt;I am following: &lt;BR /&gt;1) Using Read Emails to get relevant email.&lt;BR /&gt;2) Using &lt;STRONG&gt;&lt;SPAN style="font-family: &amp;quot;Calibri&amp;quot;, sans-serif"&gt;Get Message Details &lt;/SPAN&gt;&lt;/STRONG&gt;to get all the attachments in the particular email.&lt;BR /&gt;3) Using Attachment collection as loop&lt;/P&gt;
&lt;OL start="1" type="a"&gt;
&lt;LI style="margin-left: 18.0pt"&gt;In the first iteration of Attachment loop, it will save the file.&lt;/LI&gt;
&lt;LI style="margin-left: 18.0pt"&gt;In second iteration, it will check if file is already saved with the same name.&lt;/LI&gt;
&lt;LI style="margin-left: 18.0pt"&gt;If yes, then change file name with suffix 2 at the end. (For e.g. File name is Test.xlsx. Then first file will be saved as Test.xlsx&amp;nbsp;and second file will be saved as Test2.xlsx).&lt;/LI&gt;
&lt;LI style="margin-left: 18.0pt"&gt;Now the problem in this case is that while saving the 2nd File, since both files names are same, Blueprism is again saving first file only, this time naming it as Test2.xlsx. So 2nd file is not saved at all.&lt;BR /&gt;&lt;BR /&gt;&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;Please advise on know how we can tackle this problem in Blueprism.&lt;/P&gt;
&lt;P&gt;Thanks &amp;amp; Regards,&lt;/P&gt;
&lt;P&gt;Pawan Panjwani&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 17 May 2023 14:03:07 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Save-Multiple-Attachments-Having-Same-Name/m-p/97878#M45790</guid>
      <dc:creator>PawanPanjwani</dc:creator>
      <dc:date>2023-05-17T14:03:07Z</dc:date>
    </item>
    <item>
      <title>Re: Save Multiple Attachments Having Same Name</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Save-Multiple-Attachments-Having-Same-Name/m-p/97879#M45791</link>
      <description>&lt;P&gt;I try to look for that VBO, but I don't find that one. Can you please provide the link where do you get that one?&lt;BR /&gt;&lt;BR /&gt;Do you try using MS Outlook VBO (&lt;A href="https://digitalexchange.blueprism.com/dx/entry/3439/solution/ms-outlook-vbo" target="_blank" rel="noopener"&gt;&lt;STRONG&gt;LINK&lt;/STRONG&gt;&lt;/A&gt;)? or Function for Microsoft 365 - Outlook - 1.3.1 (&lt;STRONG&gt;&lt;A href="https://digitalexchange.blueprism.com/dx/entry/3439/solution/microsoft-office-365---outlook" target="_blank" rel="noopener"&gt;LINK&lt;/A&gt;&lt;/STRONG&gt;)?&lt;/P&gt;</description>
      <pubDate>Tue, 23 May 2023 01:06:06 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Save-Multiple-Attachments-Having-Same-Name/m-p/97879#M45791</guid>
      <dc:creator>expertcr</dc:creator>
      <dc:date>2023-05-23T01:06:06Z</dc:date>
    </item>
    <item>
      <title>Re: Save Multiple Attachments Having Same Name</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Save-Multiple-Attachments-Having-Same-Name/m-p/97880#M45792</link>
      <description>&lt;P&gt;Hi Luis,&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;The Email object is inbuilt by my company but the base is taken as MS Outlook VBO only.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Thanks &amp;amp; Regards,&lt;BR /&gt;Pawan Panjwani&lt;/P&gt;</description>
      <pubDate>Wed, 24 May 2023 11:40:47 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Save-Multiple-Attachments-Having-Same-Name/m-p/97880#M45792</guid>
      <dc:creator>PawanPanjwani</dc:creator>
      <dc:date>2023-05-24T11:40:47Z</dc:date>
    </item>
  </channel>
</rss>

