Open Outlook email template via Blueprism?

kattapug

New Member
I have created the VBO with the above code by Sachin May 31, 2019, see above. This VBO reads. .MSG file form a local folder. When I run it I get the following message.

We can't open 'C:\Users\xxxxxxxDocuments\Saved Attach\'. It's possible the file is already open, or you don't have permission to open it.
To check your permissions, right-click the file folder, then click Properties.

Does anyone know how to fix this?

I am using Windows 10, and all file permission is Full Control for System, Administrator and my account.
 

Jagadeesh02

New Member
Please add Microsoft.Outlook.Interop.dll file reference to object as well gives namespaces which is shown in above post screen shot .

Best,
Sachin
Hi,

Could you pls let me know what does it mean "D:/Microsoft.Outlook.Interop.dll" in external reference. What was the purpose of D-Directory here.
 

Sachin_Kharmale

Active Member
Hi all,

You have to give the reference of the outlook dll in the Blue prism VBO.
Just download the Microsoft.Outlook.Interop.dll from internet/ or if you have already you can use it.
Just give the location of the dll file in the Blue prism VBO.
In my case i have kept .dll file in D:/drive so i have set dll location as "D:/Microsoft.Outlook.Interop.dll"
You can manage this location as per your convenience as set the same in Blue prism references section.
 
Top