25-10-23 03:14 AM
26-10-23 09:14 AM
Hi Angela,
Thank you for being an SSC Blue Prism customer, and for using Blue Prism. I am sorry to hear you are having issues with the email asset.
When I added the IMAP functionality to this asset, I am fairly sure I tested it on what was my current version which was 7.1.2, which should mean it would work for you. The interesting thing about this type of error message is that it gives you a single dll that MIGHT be causing the problem, but the text actually says 'or one of its dependencies'. Which means, a dll that system.memory makes use of.
System_memory, is one used by Blue Prism itself and as such is loaded into memory when Blue prism launches. There is no provision for it being removed and replaced with a differing version at run time. This is why you didn't get any joy when you provided a version at a different location.
So, the solution, at the time of writing, I don't immediately have one for you. I will however investigate and revert back with my findings.
Once again, thanks for using Blue Prism.
regards
Geoff Hirst
DX Engineer
26-10-23 10:20 AM
Hi Angela,
My findings are as follows. I will give you the world famous developers response, 'It works on my machine.'. I have tested it again now I am working with 7.1.2 with net framework version 4.7.
Now, it might be worth taking a look at the versions of mailkit and mimekit you have installed. The versions I have are both 3.4.1,not the latest by any means but they do work, for me at least.
So, take a look at those and come back to me with what you have and we will see if we can dig a little deeper for you.
regards
Geoff Hirst
Friday
Hello, I realise this thread is over a year old, but I had the same issue, and after grappling with it for the best part of a day, I wanted to post our (simple) solution in case some future reader hits the same issue.
After saving the MimeKit & MailKit dll files from supporting materials to a distinct location in our network, a Blue Prism warning popped up to tell us we really should be putting those files in the Program Files folder of Blue Prism Automate. So we did. And we navigated to those files from the Code Options section of the properties in Initialise, to ensure they were pointed to the correct place.
Set-up causing issues:
What needed to happen was for the files to be put in that location, and then to set up Initialise as pictured, with the reference being simply "MimeKit.dll" and "MailKit.dll" without the full path specified.
Correct set-up: