cancel
Showing results for 
Search instead for 
Did you mean: 

How to read mail by using MS outlook email VBO Get received item?

JamunaT
Level 4
I am trying to read mail by using the Get received Items (basic) action. I cannot able to read the mail and also didn't get any exception while running even tried the outlook with opened & closed.
I am not sure about input field which I am passing correctly in get received item action , kindly guide me how to give the input properly &  what are the input must have to give in input field to get today received mail with particular subject & mail id.  I have attached screenshot which I tried below kindly refer and guide me please. Thanks.
1201.png
1202.png


------------------------------
Jamuna T
RPA developer
Changepond Technology
chennai
------------------------------
1 BEST ANSWER

Best Answers

Remove the Sender Email value and just use Sender Name.

Cheers,

------------------------------
Eric Wilson
Director, Partner Integrations for Digital Exchange
Blue Prism
------------------------------

View answer in original post

11 REPLIES 11

ewilson
Staff
Staff
Hi @Jamuna T,

I believe all of the input values for the Get Received Items (Basic) action are optional, so you're not required to enter values for any of them. Have you tried calling the action with no input values?

Cheers,


------------------------------
Eric Wilson
Director, Partner Integrations for Digital Exchange
Blue Prism
------------------------------

Hi @ Eric Wilson , Thanks for the response.
Without any inputs I can able to read all mails & got output collection item count  , But I need to read today mail with specified subject & mail id. Because Everyday I will receive one mail with specified mail Id & subject. & I need to action that mails.
If I am passing specified subject & mail id  in the input field means , I am not getting any output collection & item count , Can anyone guide me please
how to read today mail with specified subject and mail id Thanks.


------------------------------
Jamuna T
RPA developer
Changepond Technology
chennai
------------------------------

@Jamuna T,

Here's an example of setting the properties to look for messages that were received today from a specific email address with a certain subject. If the emails you're receiving are coming from an internal address (an account on your Exchange server) the email address search may not work as sometimes Outlook will see it as an Exchange directory entry (ex. /o=XXXXXXXXX). In that case, switching to matching on the Sender Name may work better.

1141.png

Cheers,

------------------------------
Eric Wilson
Director, Partner Integrations for Digital Exchange
Blue Prism
------------------------------

Thanks for the response @Eric Wilson.
I have tried as per above mentioned inputs but I couldn't ​ read any mails and also I didn't get any exception.
About outlook for Microsoft 365 (64 bit),  Kindly guide me please , how to read the mail Thanks.
Kindy refer attached screenshot below

1147.png

------------------------------
Jamuna T
RPA developer
Changepond Technology
chennai
------------------------------

try to use the datatime format that Eric used, make sure that the subject name is in fact correct

------------------------------
Emerson Ferreira
Sr Business Analyst
Avanade Brasil
If my answer helped you? Mark as useful!
------------------------------
Sr Cons at Avanade Brazil

Thanks for the response @ Emerson Ferreira
I have tried with datetime format as per Eric used & passed correct subject only still couldn't read mail & also not facing any exception.

1158.png


------------------------------
Jamuna T
RPA developer
Changepond Technology
chennai
------------------------------

Remove the Sender Email value and just use Sender Name.

Cheers,

------------------------------
Eric Wilson
Director, Partner Integrations for Digital Exchange
Blue Prism
------------------------------

FYI - There is a new update to the Outlook VBO available on the Digital Exchange. We've changed the Sender Email filter expression handling within the Get Received Items (Basic) based on information from this thread.

You can find the updated VBO here.

Cheers,


------------------------------
Eric Wilson
Director, Partner Integrations for Digital Exchange
Blue Prism
------------------------------

Thanks a lot @Eric Wilson
I just removed Sender email & tested ,Now I can read the mail successfully​.

------------------------------
Jamuna T
RPA developer
Changepond Technology
chennai
------------------------------