cancel
Showing results for 
Search instead for 
Did you mean: 

Outlook VBO issue

Hey Guys,

Facing some issue while sending mail using Outlook VBO.
Issue:-

I have two Processes P0 and P1 which will run one after another and I am sending mails two times,during process start and completion of each process individually.
So If I am running P1 after P0 then I am getting completion mail of P0 along with P1 start process mail(Means I am receiving two mails) again in my mail box.
But if I am checking in the sent item of mail Box, mail was sent only once during completion of P0.

Please let me know if any one faced the same issue or is its server or my mail BOX issue.

This issue is reproducible if I am running all process one after another.

Thanks in advance.

------------------------------
Amlan Sahoo
RPA Consultant
Equinix
------------------------------
Regards,
Amlan Sahoo
7 REPLIES 7

That's weird. If you are receiving the email then the VBO is certainly working. I am wondering if the email is somehow getting deleted from your Sent Items. Assuming you are able to replicate this in Dev environment, did you Step-through the process from Studio to see whether the email is appearing at all in your Sent Items when you are on the Send Email action?

------------------------------
Pratyush Garikapati
ROM Architect
Blue Prism
Asia/Kolkata
------------------------------

Hi Pratyush,

Thanks for your reply.
In sent items of mail it is appearing only once but I am getting mail twice.
To produce the issue you can send a mail in one process then send another mail from another process the you can receive both the mail again.
Its very much weird. I tried give pause time before sending mail and after sending mail the some times issue is not reproducible and sometimes reproducible.

Not:- I did not check from control room , I was running by debugging.
I will try to give more information if possible. In the meanwhile if any solution or work around then, please let me know

------------------------------
RPA Consultant
Equinix
------------------------------
Regards,
Amlan Sahoo

I tried simulating this with 2 processes - each sending a Start and End email - being run by a master process. The setup worked fine for me from both Studio and Control Room.

------------------------------
Pratyush Garikapati
ROM Architect
Blue Prism
Asia/Kolkata
------------------------------

Thanks Pratyush,
Then It may be environment issue.

One more question are you opening out look before sending mail or are you providing any wait before sending mail.
Please let me know accordingly I will give a try.

------------------------------
RPA Consultant
Equinix
------------------------------
Regards,
Amlan Sahoo

Outlook was open for me and I didn't give any wait. However the Outlook VBO works regardless of whether Outlook is open or closed. But if you are keeping Outlook closed, then you need to ensure File-> Options-> Advanced-> option group: Send and Receive-> option: Send immediately when connected checkbox is enabled in order to send the email immediately. Else it will stay in the Outbox until you open Outlook.

------------------------------
Pratyush Garikapati
ROM Architect
Blue Prism
Asia/Kolkata
------------------------------

Got it. Many times I observed even after I got the mail, then sent mail used to be in OutBox still and after some time then I used to receive it again.
Because I always try to run while out look is not open.

Thanks a ton 🙂

Let me try the same.


------------------------------
RPA Consultant
Equinix
------------------------------
Regards,
Amlan Sahoo

Hi Pratuysh,

I am able to reproduce the issue even if above mentioned options are enabled but if outlook is open then its working fine.

Thanks!

------------------------------
Amlan Sahoo
RPA Consultant
Equinix
------------------------------
Regards,
Amlan Sahoo