<?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 I have set up my outlook by… in Product Forum</title>
    <link>https://community.blueprism.com/t5/Product-Forum/MAPIEx-VBO-Mail-Classification/m-p/86942#M37725</link>
    <description>I have set up my outlook by making Default Sensitivity ""Confidential"". Now when I am sending an Email manually (Not using BP) still the classifier label pop up is appearing and asking for classification before sending an email. I guess we need to block that pop up to appear so that first manually i can try to sedn with default classification.
Secondly i tried to send an email through BP by using the both way i.e. MAPIex and Outlook VBO. Still Email is sending but no classification was done. I guess our BP never uses the our Microsoft Outlook 2010 directly rather than it uses the .dll file and making his own configuration. What's your view on this?
&amp;nbsp;</description>
    <pubDate>Fri, 22 Feb 2019 14:18:00 GMT</pubDate>
    <dc:creator>Ashis_KumarRay</dc:creator>
    <dc:date>2019-02-22T14:18:00Z</dc:date>
    <item>
      <title>MAPIEx VBO - Mail Classification</title>
      <link>https://community.blueprism.com/t5/Product-Forum/MAPIEx-VBO-Mail-Classification/m-p/86921#M37704</link>
      <description>Currently our BP Process uses Blue Prism MAPIEx object to send email to outside of the company. But now our client wants to classify the mail I.e. Internal, Public, Confidential etc. before sending any Email to outside of company through BP process.

Could anyone please let me know how to achieve this one by using any VBO or anything else?

Note: Currently when we send any email through Outlook manually it asks for classification thus Client demands for the same way should BP use.

Thanks</description>
      <pubDate>Tue, 22 Jan 2019 19:18:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/MAPIEx-VBO-Mail-Classification/m-p/86921#M37704</guid>
      <dc:creator>Ashis_KumarRay</dc:creator>
      <dc:date>2019-01-22T19:18:00Z</dc:date>
    </item>
    <item>
      <title>One of the (many) problems…</title>
      <link>https://community.blueprism.com/t5/Product-Forum/MAPIEx-VBO-Mail-Classification/m-p/86922#M37705</link>
      <description>One of the (many) problems with MAPIEx is that it leverages a custom (unstable) dll that they wrote to perform everything. You'll be much better off migrating to the Outlook VBO, found either on the Digital Exchange or as part of a BP6 install. This VBO doesn't rely on the custom dll file and will let you interact with the Outlook VBA code directly.
&amp;nbsp;
Assuming you have access to the Outlook VBO, you can modify it by adding the following line

mail.ItemProperties.Add(""MyCompanyClassification"", olText) = ""INTERNAL""

""INTERNAL"" can be replaced with a variable to hold whatever classification it's supposed to have.
&amp;nbsp;
&amp;nbsp;
You can try your chances with this on MAPIEx, but I would be surprised if it's that cooperative.</description>
      <pubDate>Sat, 26 Jan 2019 01:46:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/MAPIEx-VBO-Mail-Classification/m-p/86922#M37705</guid>
      <dc:creator>AmiBarrett</dc:creator>
      <dc:date>2019-01-26T01:46:00Z</dc:date>
    </item>
    <item>
      <title>As a side note, if …</title>
      <link>https://community.blueprism.com/t5/Product-Forum/MAPIEx-VBO-Mail-Classification/m-p/86923#M37706</link>
      <description>As a side note, if ""MyCompanyClassification"" is incorrect, you can probably loop through each item in mail.ItemProperties on Get Mail, and figure out what it's supposed to be.</description>
      <pubDate>Sat, 26 Jan 2019 01:50:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/MAPIEx-VBO-Mail-Classification/m-p/86923#M37706</guid>
      <dc:creator>AmiBarrett</dc:creator>
      <dc:date>2019-01-26T01:50:00Z</dc:date>
    </item>
    <item>
      <title>Thanks Ami.
I have…</title>
      <link>https://community.blueprism.com/t5/Product-Forum/MAPIEx-VBO-Mail-Classification/m-p/86924#M37707</link>
      <description>Thanks Ami.
I have downloaded Outlook VBO and it is working fine. But still the classification portion not working as I think&amp;nbsp;""MyCompanyClassification"" is not used by our company classifier i.e. Boldon James.
Could you please let me know syntax to get ItemProperties on Get mail?
&amp;nbsp;</description>
      <pubDate>Thu, 14 Feb 2019 10:42:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/MAPIEx-VBO-Mail-Classification/m-p/86924#M37707</guid>
      <dc:creator>Ashis_KumarRay</dc:creator>
      <dc:date>2019-02-14T10:42:00Z</dc:date>
    </item>
    <item>
      <title>Writing this at 12:40AM…</title>
      <link>https://community.blueprism.com/t5/Product-Forum/MAPIEx-VBO-Mail-Classification/m-p/86925#M37708</link>
      <description>Writing this at 12:40AM without testing, but I&amp;nbsp;think this'll work. You'll just have to set CSV as an output to a text data item.
dim CSV = """"
for i = 0 to mail.ItemProperties.Count - 1
&amp;nbsp; &amp;nbsp; &amp;nbsp;CSV += mail.ItemProperties.Item(i) +"" | ""
next</description>
      <pubDate>Thu, 14 Feb 2019 11:40:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/MAPIEx-VBO-Mail-Classification/m-p/86925#M37708</guid>
      <dc:creator>AmiBarrett</dc:creator>
      <dc:date>2019-02-14T11:40:00Z</dc:date>
    </item>
    <item>
      <title>Thanks Ami. 
I tried the…</title>
      <link>https://community.blueprism.com/t5/Product-Forum/MAPIEx-VBO-Mail-Classification/m-p/86926#M37709</link>
      <description>Thanks Ami.&amp;nbsp;
I tried the above code found the property I.e. ""Classification"" we used as a property.
But when I am using the above code (Outmail.ItemProperties.Add(""Classification"", olText) = ""INTERNAL)&amp;nbsp;is not working. Also I used&amp;nbsp;the code like below that also not working. Anyway Outlook VBO is able to send an email without classifying and I am not getting any error.
OutMail.ItemProperties.Add(""Classification"",1)
&amp;nbsp;OutMail.ItemProperties.item(""Classification"").Value = ""Internal""
Do you think I don't have access to modify the Outlook property or anything else, could you please help me?
Regards,
Ashis
&amp;nbsp;</description>
      <pubDate>Mon, 18 Feb 2019 19:59:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/MAPIEx-VBO-Mail-Classification/m-p/86926#M37709</guid>
      <dc:creator>Ashis_KumarRay</dc:creator>
      <dc:date>2019-02-18T19:59:00Z</dc:date>
    </item>
    <item>
      <title>It's possible that the label…</title>
      <link>https://community.blueprism.com/t5/Product-Forum/MAPIEx-VBO-Mail-Classification/m-p/86927#M37710</link>
      <description>It's possible that the label is something other than ""INTERNAL"", much like how ""MyCompanyClassification"" turned out to be ""Classification"". If you have an e-mail in the inbox already marked as internal, you should be able to get the value by leaving off the = ""Internal"" part and assigning the result to an output variable. For example

&amp;nbsp;value = OutMail.ItemProperties.item(""Classification"").Value</description>
      <pubDate>Mon, 18 Feb 2019 20:10:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/MAPIEx-VBO-Mail-Classification/m-p/86927#M37710</guid>
      <dc:creator>AmiBarrett</dc:creator>
      <dc:date>2019-02-18T20:10:00Z</dc:date>
    </item>
    <item>
      <title>I understood your point but…</title>
      <link>https://community.blueprism.com/t5/Product-Forum/MAPIEx-VBO-Mail-Classification/m-p/86928#M37711</link>
      <description>I understood your point but the issue is not with Get the Item property value. I have an email which is classified as ""Confidential"" and I am able to Get that email with properties value. from this email I came to know that the property used by the claissification is ""ClassificationConfidential"".
But the issue is to Set or Add the property of Classification before sending an email. In Send email action of Outlook VBO, I am trying to add classification as Internal or Confidential or Public etc which is not happening and I am not getting any error message.</description>
      <pubDate>Mon, 18 Feb 2019 20:24:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/MAPIEx-VBO-Mail-Classification/m-p/86928#M37711</guid>
      <dc:creator>Ashis_KumarRay</dc:creator>
      <dc:date>2019-02-18T20:24:00Z</dc:date>
    </item>
    <item>
      <title>The code you pasted earlier…</title>
      <link>https://community.blueprism.com/t5/Product-Forum/MAPIEx-VBO-Mail-Classification/m-p/86929#M37712</link>
      <description>The code you pasted earlier shows trying to set it as ""Internal"". However, it looks like that should instead be ""Confidential"" . If .Value is returning&amp;nbsp;""ClassificationConfidential"", I would try putting that whole string in there instead. In theory, anything .Value returns can be assumed vald, because it's already set. Setting it to the same value you were returned should work.</description>
      <pubDate>Mon, 18 Feb 2019 20:31:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/MAPIEx-VBO-Mail-Classification/m-p/86929#M37712</guid>
      <dc:creator>AmiBarrett</dc:creator>
      <dc:date>2019-02-18T20:31:00Z</dc:date>
    </item>
    <item>
      <title>Sorry to say, I am little…</title>
      <link>https://community.blueprism.com/t5/Product-Forum/MAPIEx-VBO-Mail-Classification/m-p/86930#M37713</link>
      <description>Sorry to say, I am little bit confused now. I&amp;nbsp;modified the ""GetMail"" action of Outlook VBO&amp;nbsp;to check what is the Item property used by Boldon James to classify an email. To fulfil that I manually send an email to myself. Also I classified that email to Confidential manually. Then I tried to read that same&amp;nbsp;email by Getmail action of Outlook VBO where I have used the below&amp;nbsp;code to get the all item properties of an mail. The delimiter I set as """" thus it came as ""ClassificationConfidential"".
dim CSV = """"
for i = 0 to mail.ItemProperties.Count - 1
&amp;nbsp; &amp;nbsp; &amp;nbsp;CSV += mail.ItemProperties.Item(i) +"" | ""
next
Then I came to know that the property used by my company is ""Classification"". Thus now my next step is to send an email by classifying from Blue Prism.&amp;nbsp;Thus I use the action ""Send Mail"" of Outlook VBO where I have modified this ""Send Mail"" action and added the below code. BP is able to send an email but not able to classify. That's why I doubted whether I don't have access to overwrite any property of Outlook or I am missing something in VBO code.
OutMail.ItemProperties.Add(""Classification"",1)
&amp;nbsp;OutMail.ItemProperties.item(""Classification"").Value = ""Confidential""
Please let me know if I am not able to explain anywhere.</description>
      <pubDate>Mon, 18 Feb 2019 20:51:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/MAPIEx-VBO-Mail-Classification/m-p/86930#M37713</guid>
      <dc:creator>Ashis_KumarRay</dc:creator>
      <dc:date>2019-02-18T20:51:00Z</dc:date>
    </item>
    <item>
      <title>That makes more sense, then…</title>
      <link>https://community.blueprism.com/t5/Product-Forum/MAPIEx-VBO-Mail-Classification/m-p/86931#M37714</link>
      <description>That makes more sense, then. I'd be curious to see the construction of OutMail though, since ""Send Item"" declares it as mail. If you've replaced all references of ""mail"" with ""OutMail"", it should be fine - but my suspicion is that you have both objects, ""mail"" and ""OutMail"" in the code, and only ""mail"" is getting sent.
Is there any way you can paste the entire code stage?</description>
      <pubDate>Mon, 18 Feb 2019 21:05:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/MAPIEx-VBO-Mail-Classification/m-p/86931#M37714</guid>
      <dc:creator>AmiBarrett</dc:creator>
      <dc:date>2019-02-18T21:05:00Z</dc:date>
    </item>
    <item>
      <title>Here is the Code stage. I…</title>
      <link>https://community.blueprism.com/t5/Product-Forum/MAPIEx-VBO-Mail-Classification/m-p/86932#M37715</link>
      <description>Here is the Code stage. I have only added two lines into the VBO code which is highlighted.
Try
&amp;nbsp;&amp;nbsp; &amp;nbsp;Dim OutApp as Object = CreateObject(""Outlook.Application"")
&amp;nbsp;&amp;nbsp; &amp;nbsp;Dim OutMail as Object = OutApp.CreateItem(0)
&amp;nbsp;&amp;nbsp; &amp;nbsp;Dim OutAtt as Object = OutMail.Attachments
&amp;nbsp; &amp;nbsp; With OutMail
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; .to = [To]
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; .CC = [CC]
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; .BCC = [BCC]
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; .Subject = [Subject]
&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;if [HTMLFormat] then
&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;.HTMLBody = [Message]
&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;.bodyformat = 2
&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;else
&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;.Body = [Message]
&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;end if
&amp;nbsp;&amp;nbsp; &amp;nbsp;if [SendOnBehalfName]  """" then
&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;.SentOnBehalfOfName = SendOnBehalfName
&amp;nbsp;&amp;nbsp; &amp;nbsp;end if
&amp;nbsp;&amp;nbsp; &amp;nbsp;End With
&amp;nbsp;&amp;nbsp; &amp;nbsp;
&amp;nbsp;&amp;nbsp; &amp;nbsp;For Each R As DataRow in Attachments.Rows
&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;dim file As String = CStr(R(""Path""))
&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;OutAtt.Add (file)
&amp;nbsp;&amp;nbsp; &amp;nbsp;Next
&amp;nbsp;&amp;nbsp; &amp;nbsp;
&amp;nbsp;&amp;nbsp; &amp;nbsp;
&amp;nbsp; &amp;nbsp; If SharedMailBoxNumber  1
&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;OutMail.SendUsingAccount = OutApp.Session.Accounts.Item(SharedMailBoxNumber)
&amp;nbsp;&amp;nbsp; &amp;nbsp;End If
&amp;nbsp; &amp;nbsp;&amp;nbsp;
&amp;nbsp;&amp;nbsp; &amp;nbsp;OutMail.ItemProperties.Add(""Classification"",1)&amp;nbsp;
&amp;nbsp;&amp;nbsp; &amp;nbsp;OutMail.ItemProperties.item(""Classification"").Value = ""Confidential""
&amp;nbsp;&amp;nbsp; &amp;nbsp;
&amp;nbsp; &amp;nbsp;&amp;nbsp;
&amp;nbsp; &amp;nbsp; OutMail = Nothing
&amp;nbsp; &amp;nbsp; OutApp = Nothing
&amp;nbsp;&amp;nbsp; &amp;nbsp;Success = True
Catch ex As System.Exception
&amp;nbsp;&amp;nbsp; &amp;nbsp;ErrMessage = ex.Message
End Try</description>
      <pubDate>Mon, 18 Feb 2019 21:20:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/MAPIEx-VBO-Mail-Classification/m-p/86932#M37715</guid>
      <dc:creator>Ashis_KumarRay</dc:creator>
      <dc:date>2019-02-18T21:20:00Z</dc:date>
    </item>
    <item>
      <title>This is entirely different…</title>
      <link>https://community.blueprism.com/t5/Product-Forum/MAPIEx-VBO-Mail-Classification/m-p/86933#M37716</link>
      <description>This is entirely different from the version of the Outlook VBO I grabbed, but I think I see the problem(s).
First and foremost, those two lines you've added are after where it has sent the mail. In the If block above, it calls SendUsingAccount, which is effectively another way of doing OutMail.Send. Since you're making modifications to the message object after that is executed, it doesn't really have any effect.
Second, I don't see a handle for any case where SharedMailBoxNumber = 1. You could probably duplucate that if block, say if = 1, then replace the second line of it to just say OutMail.Send .&amp;nbsp;</description>
      <pubDate>Mon, 18 Feb 2019 21:28:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/MAPIEx-VBO-Mail-Classification/m-p/86933#M37716</guid>
      <dc:creator>AmiBarrett</dc:creator>
      <dc:date>2019-02-18T21:28:00Z</dc:date>
    </item>
    <item>
      <title>Sorry Ami, I think in the…</title>
      <link>https://community.blueprism.com/t5/Product-Forum/MAPIEx-VBO-Mail-Classification/m-p/86934#M37717</link>
      <description>Sorry Ami, I think in the last email by mistake&amp;nbsp;the line ""Outmail.Send"" got deleted. here is the code below which I have used just now and still not able to classify. I have moved the two line above as well. Please let me know your view
Try
&amp;nbsp;&amp;nbsp; &amp;nbsp;Dim OutApp as Object = CreateObject(""Outlook.Application"")
&amp;nbsp;&amp;nbsp; &amp;nbsp;Dim OutMail as Object = OutApp.CreateItem(0)
&amp;nbsp;&amp;nbsp; &amp;nbsp;Dim OutAtt as Object = OutMail.Attachments
&amp;nbsp; &amp;nbsp; With OutMail
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; .to = [To]
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; .CC = [CC]
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; .BCC = [BCC]
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; .Subject = [Subject]
&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;if [HTMLFormat] then
&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;.HTMLBody = [Message]
&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;.bodyformat = 2
&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;else
&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;.Body = [Message]
&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;end if
&amp;nbsp;&amp;nbsp; &amp;nbsp;OutMail.ItemProperties.Add(""Classification"",1)&amp;nbsp;
&amp;nbsp;&amp;nbsp; &amp;nbsp;OutMail.ItemProperties.item(""Classification"").Value = ""Confidential""
&amp;nbsp;&amp;nbsp; &amp;nbsp;if [SendOnBehalfName]  """" then
&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;.SentOnBehalfOfName = SendOnBehalfName
&amp;nbsp;&amp;nbsp; &amp;nbsp;end if
&amp;nbsp;&amp;nbsp; &amp;nbsp;End With
&amp;nbsp;&amp;nbsp; &amp;nbsp;
&amp;nbsp;&amp;nbsp; &amp;nbsp;For Each R As DataRow in Attachments.Rows
&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;dim file As String = CStr(R(""Path""))
&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;OutAtt.Add (file)
&amp;nbsp;&amp;nbsp; &amp;nbsp;Next
&amp;nbsp;&amp;nbsp; &amp;nbsp;
&amp;nbsp; &amp;nbsp; If SharedMailBoxNumber  1
&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;OutMail.SendUsingAccount = OutApp.Session.Accounts.Item(SharedMailBoxNumber)
&amp;nbsp;&amp;nbsp; &amp;nbsp;End If
&amp;nbsp; &amp;nbsp;&amp;nbsp;
&amp;nbsp;&amp;nbsp; &amp;nbsp;OutMail.Send &amp;nbsp;&amp;nbsp;
&amp;nbsp; &amp;nbsp;&amp;nbsp;
&amp;nbsp; &amp;nbsp; OutMail = Nothing
&amp;nbsp; &amp;nbsp; OutApp = Nothing
&amp;nbsp;&amp;nbsp; &amp;nbsp;Success = True
Catch ex As System.Exception
&amp;nbsp;&amp;nbsp; &amp;nbsp;ErrMessage = ex.Message
End Try</description>
      <pubDate>Mon, 18 Feb 2019 21:44:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/MAPIEx-VBO-Mail-Classification/m-p/86934#M37717</guid>
      <dc:creator>Ashis_KumarRay</dc:creator>
      <dc:date>2019-02-18T21:44:00Z</dc:date>
    </item>
    <item>
      <title>You've moved it into the…</title>
      <link>https://community.blueprism.com/t5/Product-Forum/MAPIEx-VBO-Mail-Classification/m-p/86935#M37718</link>
      <description>You've moved it into the With OutMail block. If it's in there, you can change it from OutMail.ItemProperties to .ItemProperties .&amp;nbsp;</description>
      <pubDate>Mon, 18 Feb 2019 21:47:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/MAPIEx-VBO-Mail-Classification/m-p/86935#M37718</guid>
      <dc:creator>AmiBarrett</dc:creator>
      <dc:date>2019-02-18T21:47:00Z</dc:date>
    </item>
    <item>
      <title>Ami, i used the both the…</title>
      <link>https://community.blueprism.com/t5/Product-Forum/MAPIEx-VBO-Mail-Classification/m-p/86936#M37719</link>
      <description>Ami, i used the both the ways i.e. Kept the&amp;nbsp;OutMail.ItemProperties outside of With Outmail block and kept inside but replaced from OutMail.ItemProperties to .ItemProperties but unfortunately both are not able to classify. Do you have any other code stage which you are using currently for classification or are you using different Outlook VBO for your requirement which I can also try. Please let me know your comments.
Try
&amp;nbsp;&amp;nbsp; &amp;nbsp;Dim OutApp as Object = CreateObject(""Outlook.Application"")
&amp;nbsp;&amp;nbsp; &amp;nbsp;Dim OutMail as Object = OutApp.CreateItem(0)
&amp;nbsp;&amp;nbsp; &amp;nbsp;Dim OutAtt as Object = OutMail.Attachments
&amp;nbsp; &amp;nbsp; With OutMail
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; .to = [To]
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; .CC = [CC]
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; .BCC = [BCC]
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; .Subject = [Subject]
&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;if [HTMLFormat] then
&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;.HTMLBody = [Message]
&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;.bodyformat = 2
&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;else
&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;.Body = [Message]
&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;end if
&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;.ItemProperties.Add(""Classification"",1)&amp;nbsp;
&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;.ItemProperties.item(""Classification"").Value = ""Confidential""
&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;if [SendOnBehalfName]  """" then
&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;.SentOnBehalfOfName = SendOnBehalfName
&amp;nbsp;&amp;nbsp; &amp;nbsp;end if
&amp;nbsp;&amp;nbsp; &amp;nbsp;End With
&amp;nbsp;&amp;nbsp; &amp;nbsp;'OutMail.ItemProperties.Add(""Classification"",1)&amp;nbsp;
&amp;nbsp;&amp;nbsp; &amp;nbsp;'OutMail.ItemProperties.item(""Classification"").Value = ""Confidential""
&amp;nbsp;&amp;nbsp; &amp;nbsp;
&amp;nbsp;&amp;nbsp; &amp;nbsp;For Each R As DataRow in Attachments.Rows
&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;dim file As String = CStr(R(""Path""))
&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;OutAtt.Add (file)
&amp;nbsp;&amp;nbsp; &amp;nbsp;Next
&amp;nbsp;&amp;nbsp; &amp;nbsp;
&amp;nbsp; &amp;nbsp; If SharedMailBoxNumber  1
&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;OutMail.SendUsingAccount = OutApp.Session.Accounts.Item(SharedMailBoxNumber)
&amp;nbsp;&amp;nbsp; &amp;nbsp;End If
&amp;nbsp; &amp;nbsp;&amp;nbsp;
&amp;nbsp;&amp;nbsp; &amp;nbsp;OutMail.Send &amp;nbsp;&amp;nbsp;
&amp;nbsp; &amp;nbsp;&amp;nbsp;
&amp;nbsp; &amp;nbsp; OutMail = Nothing
&amp;nbsp; &amp;nbsp; OutApp = Nothing
&amp;nbsp;&amp;nbsp; &amp;nbsp;Success = True
Catch ex As System.Exception
&amp;nbsp;&amp;nbsp; &amp;nbsp;ErrMessage = ex.Message
End Try
&amp;nbsp;</description>
      <pubDate>Tue, 19 Feb 2019 13:42:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/MAPIEx-VBO-Mail-Classification/m-p/86936#M37719</guid>
      <dc:creator>Ashis_KumarRay</dc:creator>
      <dc:date>2019-02-19T13:42:00Z</dc:date>
    </item>
    <item>
      <title>I pulled a list of MailItem…</title>
      <link>https://community.blueprism.com/t5/Product-Forum/MAPIEx-VBO-Mail-Classification/m-p/86937#M37720</link>
      <description>I pulled a list of MailItem properties on one of my messages. the property in question is ""Sensitivity"", rather than ""Classification"". The value for these are in integers, defaulting to 0. This property happens to have an index of 24. You should be able to say .ItemProperties.item(24).Value = 1 , or whatever the value should be. I would recommend finding one mail that's already properly classified and run this code to see what your index and value need to be. &lt;BR /&gt;&lt;BR /&gt;
&lt;PRE class="language-markup"&gt;for i = 0 to item.ItemProperties.Count - 1
	if CStr(item.ItemProperties.Item(i).Name) = ""Sensitivity"" then
		csv = csv &amp;amp; CStr(item.ItemProperties.Item(i).Value)
		csv = csv &amp;amp; "" | "" &amp;amp; CStr(i)
	end if
next​&lt;/PRE&gt;</description>
      <pubDate>Tue, 19 Feb 2019 23:01:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/MAPIEx-VBO-Mail-Classification/m-p/86937#M37720</guid>
      <dc:creator>AmiBarrett</dc:creator>
      <dc:date>2019-02-19T23:01:00Z</dc:date>
    </item>
    <item>
      <title>Hi Ami, I have checked the…</title>
      <link>https://community.blueprism.com/t5/Product-Forum/MAPIEx-VBO-Mail-Classification/m-p/86938#M37721</link>
      <description>Hi Ami, I have checked the property ""Sensitivity"" which is 24th Index of Item properties list and every time I get value 0. I checked for classified mail i.e. Internal, Confidential and also checked for a non-classified email. No luck till this point. Please let me know your view. I have attached all my property list here.
We are able to do this classification through Macro. Can we not add those code macro code to BP?&amp;nbsp;</description>
      <pubDate>Wed, 20 Feb 2019 18:17:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/MAPIEx-VBO-Mail-Classification/m-p/86938#M37721</guid>
      <dc:creator>Ashis_KumarRay</dc:creator>
      <dc:date>2019-02-20T18:17:00Z</dc:date>
    </item>
    <item>
      <title>Depending how you've done…</title>
      <link>https://community.blueprism.com/t5/Product-Forum/MAPIEx-VBO-Mail-Classification/m-p/86939#M37722</link>
      <description>Depending how you've done the macro, the code should be the same as it is in BP.
If all else, you can set the default classification in your Outlook preferences, provided you don't mind it always being the same.</description>
      <pubDate>Thu, 21 Feb 2019 19:51:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/MAPIEx-VBO-Mail-Classification/m-p/86939#M37722</guid>
      <dc:creator>AmiBarrett</dc:creator>
      <dc:date>2019-02-21T19:51:00Z</dc:date>
    </item>
    <item>
      <title>Is there any way to set up…</title>
      <link>https://community.blueprism.com/t5/Product-Forum/MAPIEx-VBO-Mail-Classification/m-p/86940#M37723</link>
      <description>Is there any way to set up default Preference as ""Confidential"" in outlook. Currently our all outbound email should be classified as ""Confidential"".
Could you please let me know the steps?&amp;nbsp;I am using Microsoft Outlook 2010.</description>
      <pubDate>Thu, 21 Feb 2019 22:27:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/MAPIEx-VBO-Mail-Classification/m-p/86940#M37723</guid>
      <dc:creator>Ashis_KumarRay</dc:creator>
      <dc:date>2019-02-21T22:27:00Z</dc:date>
    </item>
  </channel>
</rss>

