cancel
Showing results for 
Search instead for 
Did you mean: 

MS Outlook Email VBO - Get Received Items - Get Non-Delivery Reports Emails

MelvinBriant
Level 2

Hi,

I would like to get specifics emails send by Microsoft Outlook when I send an email to a not found email.

But when I tried to get all my emails from the business objects in my collection, there is all of them excepts of those Non-Delivery Reports. 

I can see them on my mailbox, i don't have email rules, they're all on my Inbox folder.

Here my simple Action from Business Object 

(I added datetime to check if they were on my collection) 

35431.png

Do you have any suggestion ? Maybe modify my BO to add those type of emails ?

Thanks in advance,

Best regards.

Melvin Briant

5 REPLIES 5

Hi Melvin,

Please use the action "GetReportItem" to retrieve these kind of emails. If you don't see this action in your VBO then you might have to get the latest version from DX.

MelvinBriant
Level 2

Hi Shashank,

Thank you for your answer.
I tried to use the action "GetReportItem", but something wrong happens with my email's body.
Here an example :
35427.png
Furthermore, I would like to know if we can filtering this get action. To take only daily mails.
Because I need to have those mail on my Inbox and not another folder, there is a lot of them and when i want to get all of them Blueprism literaly crash.
(I have result here because i tried on a specific folder with a dozen of emails)

Best regards.

Hi Melvin,

I have pushed an update to the Outlook VBO. Please use version 10.2.4 from DX. 

You will be able to set the input parameter 'Filter Expression' to retrieve only today's ReportItem

35428.png
"urn:schemas:httpmail:datereceived > '" & Today() & " 12:00am'"

Are you able to retrieve other emails with proper body?

MelvinBriant
Level 2

Hi Shashank, 

Thank you very much for your update. I tried the new version with filter it works very well !
But I had the same issue about the mail's body.

Here another example : 35429.pngHere an example of the real email on Outlook : 
35430.png
The body's issue appears only with this specific format of email.

Hi Melvin,

Sorry for the delay. in getting back.  I was out of office.

In your screenshot you have shown 2 types of email. You are able to read the first type correctly.

I am not sure of the exact cause but here are are few points to debug further. 

What's the difference between the two emails in terms of Sender/Recipient and Email Encoding/Language used to send the email?