cancel
Showing results for 
Search instead for 
Did you mean: 

EWS Mail objects

AnthonyMullen
Level 4
HI all
I am new to RPA and new to community. I have experience in C# development but I have been given responsibility of RPA using Blue prism.

My first task is to migrate a process from reading mails from an on prem Mail service to a cloud Mail service.

The objects that the current process is using is EWS Mail Object. I have searched for documentation on how to use these objects but I cannot find anything online.

Can anyone help me with this please?

The object takes 4 parameters, username, password, Mail ID and url of web mail address

Thanks in advance for help on this

------------------------------
Anthony Mullen
------------------------------
11 REPLIES 11

BohyonHwang
Level 9
@AndreyKudinov seems to be the developer of EWS.
You can find his github project on GitHub - aikudinov/BlueprismVBO: Blueprism VBO collection
It'd be nice to contact him.​

You have experienced in C# development, as you said.
Then you may look into code stage in each Action page of the VBO.
They are coded using C# and you must be familiar with them.​​​

------------------------------
Bohyon Hwang
Director
블루프리즘
Seoul
+82262033950
------------------------------

Hi 

thank you for this information.

Where did you find this information out for future reference?

Thanks in advance

------------------------------
Anthony Mullen
------------------------------

EWS VBO on DX and EWS VBO ​on github are different, which one are we talking about?

First one should support cloud afaik. Second one is onprem only, and although it should be possible to make it work with oauth2, EWS managed api itself is deprecated and you'd better use Graph api I guess.

p.s. Andrey Kudinov is not going to reply here, since blueprism decided to block russian accounts. You can try contacting him on github issues, but I doubt they use Blueprism now.

------------------------------
Alhana Starbreeze
------------------------------

Hi,

The use case I am having is that a process we have is using the ON PREM one however we are moving to cloud so would prob need the first one you are talking about.
Can you help me on how I would access the VBO on DX please?

Thanks in advance

------------------------------
Anthony Mullen
------------------------------

Search for: Agilify Exchange on DX / community


------------------------------
Alhana Starbreeze
------------------------------

HI

Thank you for this but I cannot find anything here.

I have done some research and I see Basic Auth is not supported with outlook EWS anymore so I need to use OAuth 2. Is there a VBO for this functionality that you know of?

Thanks in advance

------------------------------
Anthony Mullen
------------------------------

Hi all

I got a solution for this. I will use MS Outlook VBO. 
Thanks all for your help on this and from my experience here I would advise anyone else in this situation NOT to use EWS as this will eventually be fully deprecated by microsoft.

Thanks all

------------------------------
Anthony Mullen
------------------------------

Good!
Thank you.

------------------------------
Bohyon Hwang
Director
블루프리즘
Seoul
+82262033950
------------------------------

EWS is still a good option for Exchange on-premise if you don't want to depend on Outlook.
For an Office365 it is advised to use Graph API:
https://zimmergren.net/sending-e-mails-using-microsoft-graph-using-dotnet/#get-full-e-mail-and-inbox-capabilities
BP DX has VBO for this: https://digitalexchange.blueprism.com/dx/entry/3439/solution/microsoft-office-365---outlook
MS Outlook VBO (interop) is a good option in both cases too, although a bit slower and has to be exclusive run mode afaik.


------------------------------
Alhana Starbreeze
------------------------------