<?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 Secure/Encrypted Email in Product Forum</title>
    <link>https://community.blueprism.com/t5/Product-Forum/Sending-Secure-Encrypted-Email/m-p/79164#M31105</link>
    <description>Is it possible for BluePrism to utilize sending secure/encrypted email using a plugin such as Entrust using the built-in VBO or other methods?&amp;nbsp; Or would the process need to work within Outlook directly?</description>
    <pubDate>Fri, 19 Oct 2018 23:20:00 GMT</pubDate>
    <dc:creator>jeffreykmc</dc:creator>
    <dc:date>2018-10-19T23:20:00Z</dc:date>
    <item>
      <title>Sending Secure/Encrypted Email</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Sending-Secure-Encrypted-Email/m-p/79164#M31105</link>
      <description>Is it possible for BluePrism to utilize sending secure/encrypted email using a plugin such as Entrust using the built-in VBO or other methods?&amp;nbsp; Or would the process need to work within Outlook directly?</description>
      <pubDate>Fri, 19 Oct 2018 23:20:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Sending-Secure-Encrypted-Email/m-p/79164#M31105</guid>
      <dc:creator>jeffreykmc</dc:creator>
      <dc:date>2018-10-19T23:20:00Z</dc:date>
    </item>
    <item>
      <title>RE: Sending Secure/Encrypted Email</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Sending-Secure-Encrypted-Email/m-p/79165#M31106</link>
      <description>I was exploring use of reading encrypted email. Just wanted to check if you have found any solution to it.&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Paras Pabari&lt;BR /&gt;RPA Lead&lt;BR /&gt;America/New_York&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Mon, 16 Nov 2020 23:05:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Sending-Secure-Encrypted-Email/m-p/79165#M31106</guid>
      <dc:creator>ParasPabari</dc:creator>
      <dc:date>2020-11-16T23:05:00Z</dc:date>
    </item>
    <item>
      <title>RE: Sending Secure/Encrypted Email</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Sending-Secure-Encrypted-Email/m-p/79166#M31107</link>
      <description>To all community member&lt;BR /&gt;&lt;BR /&gt;I am also looking for solution(in term of VBO not for any setting in outlook) to read encrypted mail in Outlook. Is graph API is capable of doing this?&lt;BR /&gt;&lt;BR /&gt;Legality can be another issue that bot should not allowed to read encrypted mail but still need a solution&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Neeraj Kumar&lt;BR /&gt;Technical Architect&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Wed, 02 Feb 2022 10:29:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Sending-Secure-Encrypted-Email/m-p/79166#M31107</guid>
      <dc:creator>Neel1</dc:creator>
      <dc:date>2022-02-02T10:29:00Z</dc:date>
    </item>
    <item>
      <title>RE: Sending Secure/Encrypted Email</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Sending-Secure-Encrypted-Email/m-p/79167#M31108</link>
      <description>Hi &lt;A class="user-content-mention" data-sign="@" data-contactkey="c5e63ea0-81f8-48b9-bde7-b9fabd8876b1" data-tag-text="@Neeraj Kumar" href="https://community.blueprism.com/network/profile?UserKey=c5e63ea0-81f8-48b9-bde7-b9fabd8876b1" data-itemmentionkey="a993480e-7bf8-4b9b-9d5e-86ef444bce6d"&gt;@Neeraj Kumar&lt;/A&gt;,&lt;BR /&gt;&lt;BR /&gt;Have you tried setting the &lt;STRONG&gt;Sensitivity&lt;/STRONG&gt; input value when you call &lt;EM&gt;&lt;STRONG&gt;Send Email&lt;/STRONG&gt;&lt;/EM&gt; on the Outlook VBO?&lt;BR /&gt;&lt;BR /&gt;Cheers,&lt;BR /&gt;​&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Eric Wilson&lt;BR /&gt;Director, Integrations and Enablement&lt;BR /&gt;Blue Prism Digital Exchange&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Wed, 02 Feb 2022 16:23:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Sending-Secure-Encrypted-Email/m-p/79167#M31108</guid>
      <dc:creator>ewilson</dc:creator>
      <dc:date>2022-02-02T16:23:00Z</dc:date>
    </item>
    <item>
      <title>RE: Sending Secure/Encrypted Email</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Sending-Secure-Encrypted-Email/m-p/79168#M31109</link>
      <description>Hi &lt;A class="user-content-mention" data-sign="@" data-contactkey="c5e63ea0-81f8-48b9-bde7-b9fabd8876b1" data-tag-text="@Neeraj Kumar" href="https://community.blueprism.com/network/profile?UserKey=c5e63ea0-81f8-48b9-bde7-b9fabd8876b1" data-itemmentionkey="4446b900-535d-4aa1-b36b-163ffbc538bf"&gt;@Neeraj Kumar&lt;/A&gt;,&lt;BR /&gt;&lt;BR /&gt;Did you try .Net code to read the encrypted email in Outlook?​&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Arika Jatwani Process Manager&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Wed, 02 Feb 2022 19:45:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Sending-Secure-Encrypted-Email/m-p/79168#M31109</guid>
      <dc:creator>ArikaJatwani</dc:creator>
      <dc:date>2022-02-02T19:45:00Z</dc:date>
    </item>
    <item>
      <title>RE: Sending Secure/Encrypted Email</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Sending-Secure-Encrypted-Email/m-p/79169#M31110</link>
      <description>Thanks a lot for your suggestions.&lt;BR /&gt;&lt;BR /&gt;&lt;a href="https://community.blueprism.com/t5/user/viewprofilepage/user-id/15619"&gt;@ArikaJatwani&lt;/a&gt; - Do we have to pass the password in .net code to open the encrypted mails or there will be another approach to this.&lt;BR /&gt;&lt;BR /&gt;BR//&lt;BR /&gt;Neeraj Kumar.​&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Neeraj Kumar&lt;BR /&gt;Technical Architect&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Thu, 10 Feb 2022 12:20:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Sending-Secure-Encrypted-Email/m-p/79169#M31110</guid>
      <dc:creator>Neel1</dc:creator>
      <dc:date>2022-02-10T12:20:00Z</dc:date>
    </item>
    <item>
      <title>RE: Sending Secure/Encrypted Email</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Sending-Secure-Encrypted-Email/m-p/79170#M31111</link>
      <description>&lt;A class="user-content-mention" data-sign="@" data-contactkey="c5e63ea0-81f8-48b9-bde7-b9fabd8876b1" data-tag-text="@Neeraj Kumar" href="https://community.blueprism.com/network/profile?UserKey=c5e63ea0-81f8-48b9-bde7-b9fabd8876b1" data-itemmentionkey="22e8b485-7622-45d1-9b02-3c255318123c"&gt;@Neeraj Kumar&lt;/A&gt;,&lt;BR /&gt;&lt;BR /&gt;The encryption/decryption of emails should be handled by Outlook/Exchange itself as opposed to you doing it yourself. Refer to this article at Microsoft:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://docs.microsoft.com/en-us/archive/blogs/dvespa/how-to-sign-or-encrypt-a-message-programmatically-from-oom" target="_blank" rel="noopener"&gt;https://docs.microsoft.com/en-us/archive/blogs/dvespa/how-to-sign-or-encrypt-a-message-programmatically-from-oom&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;You should be able to extend the Outlook VBO to use the method described in that article to implement support for encryption and/or signing of outbound emails. I would suggest creating a copy of the &lt;STRONG&gt;Send Email&lt;/STRONG&gt; action and make changes to it.&lt;BR /&gt;&lt;BR /&gt;Cheers,&lt;BR /&gt;​&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Eric Wilson&lt;BR /&gt;Director, Integrations and Enablement&lt;BR /&gt;Blue Prism Digital Exchange&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Thu, 10 Feb 2022 15:41:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Sending-Secure-Encrypted-Email/m-p/79170#M31111</guid>
      <dc:creator>ewilson</dc:creator>
      <dc:date>2022-02-10T15:41:00Z</dc:date>
    </item>
    <item>
      <title>RE: Sending Secure/Encrypted Email</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Sending-Secure-Encrypted-Email/m-p/79171#M31112</link>
      <description>&lt;A class="user-content-mention" data-sign="@" data-contactkey="c5e63ea0-81f8-48b9-bde7-b9fabd8876b1" data-tag-text="@Neeraj Kumar" href="https://community.blueprism.com/network/profile?UserKey=c5e63ea0-81f8-48b9-bde7-b9fabd8876b1" data-itemmentionkey="d9f4f998-5045-4880-b2ca-313decb7d935"&gt;@Neeraj Kumar&lt;/A&gt;,&lt;BR /&gt;&lt;BR /&gt;I've looked into this a bit more. Creating an encrypted email in Outlook is pretty easy when you do it manually via the UI, but apparently Microsoft never really considered people would want to do this programmatically. 🤦‍&lt;span class="lia-unicode-emoji" title=":male_sign:"&gt;♂️&lt;/span&gt; Below is some code you can add to the &lt;STRONG&gt;Send Email&lt;/STRONG&gt; action of the Outlook VBO that should allow you to do this though:&lt;BR /&gt;&lt;BR /&gt;
&lt;PRE class="language-vbnet"&gt;&lt;CODE&gt;Const PR_SECURITY_FLAGS As String = "http://schemas.microsoft.com/mapi/proptag/0x6E010003"

' Check flags for Encryption and Signing.
If (Encrypt_Message) And (Sign_Message) Then 
	mail.PropertyAccessor.SetProperty(PR_SECURITY_FLAGS, &amp;amp;H3)
ElseIf (Encrypt_Message) Then
	mail.PropertyAccessor.SetProperty(PR_SECURITY_FLAGS, &amp;amp;H1)
ElseIf (Sign_Message) Then
	mail.PropertyAccessor.SetProperty(PR_SECURITY_FLAGS, &amp;amp;H2)
End If
​&lt;/CODE&gt;&lt;/PRE&gt;
&lt;BR /&gt;There are a few things to be aware of though:&lt;BR /&gt;&lt;BR /&gt;
&lt;UL&gt;
&lt;LI&gt;There are other examples on the internet that show this is a slightly cleaner fashion. In those cases they are performing a bitwise OR of any existing value of the PR_SECURITY_FLAGS property and the new value. That's all well and good, but my testing in v6.10.4 shows that when you try to pass any sort of VB variable into the &lt;STRONG&gt;SetProperty&lt;/STRONG&gt; call results in a &lt;STRONG&gt;Type Mismatch&lt;/STRONG&gt; exception. That's why I have 3 separate lines that basically do the same thing just with a different hardcoded value at the end. I tried using variables of type Long, Integer, UInteger, ULng, Int16, Int32, Object, and String. None of them worked. 🤷‍&lt;span class="lia-unicode-emoji" title=":male_sign:"&gt;♂️&lt;/span&gt;&lt;/LI&gt;
&lt;LI&gt;The code above expects that you'll define two input variables on the &lt;STRONG&gt;Send Email&lt;/STRONG&gt; action called &lt;EM&gt;&lt;STRONG&gt;Encrypt Message&lt;/STRONG&gt;&lt;/EM&gt; and &lt;EM&gt;&lt;STRONG&gt;Sign Message&lt;/STRONG&gt;,&lt;/EM&gt; and those will be passed into the Code stage.&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN style="text-decoration: underline;"&gt;&lt;STRONG&gt;VERY IMPORTANT:&lt;/STRONG&gt;&lt;/SPAN&gt; If you make this change and you call the action on a runtime resource who's Outlook installation has NOT been previously configured to support sending emails with encryption and signing, a pop-up will show up that will block the BP process from moving ahead. The pop-up is basically a message stating that the Outlook client has not been configured with a proper Digital ID certificate that can be used for encryption and/or signing. At that point all you can do is click the OK button on the dialog to dismiss it. When you do that, you'll receive an exception in the Code stage stating that the action was aborted.&lt;/LI&gt;
&lt;/UL&gt;
Cheers,&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Eric Wilson&lt;BR /&gt;Director, Integrations and Enablement&lt;BR /&gt;Blue Prism Digital Exchange&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Tue, 15 Feb 2022 20:01:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Sending-Secure-Encrypted-Email/m-p/79171#M31112</guid>
      <dc:creator>ewilson</dc:creator>
      <dc:date>2022-02-15T20:01:00Z</dc:date>
    </item>
  </channel>
</rss>

