I am doing an Email automation project.I want to check whether the email i have send through outlook is delivered or not. So i opted for read receipt. I am also getting Undeliverable message as well.
But when i use “get outlook mail messages”, i am not getting the read receipt email or the undeliverable email eventhough it is there in the inbox. Please find a solution to my problem.
See here there are two unread messages.1 Read receipt email… 2 Normal Email
I executed the following program
When i ran it only the normal Email’s subject is displayed while the subject of read receipt email is not captured.
Please give me a solution to this issue
could you give me a logic to find out whether an email send by me is delivered to the person.(Not by using read receipt)
This is what i m trying to do.
While it could be confirmed 100% by looking at the source code, the most probable culprit is the way the items are fetched - regular mail is a MailItem class, while delivery receipts and other reports (undeliverable etc.) are ReportItem class.
I wouldn’t be surprised if there’s a check for a class or the fetch itself is filtered for that class objects. Since it needs to return a List<MailMessage>, it probably only goes for MailItem objects, since reports have a different structure (they’re similar, but not same).
If this is confirmed by someone from UiPath, your only solution would be to I suppose roll your own integration or request an addition to the package. It would be useful to be able to get delivery receipts, so I don’t think it will be declined, but it might take some time. Either way, it’s in UiPath hands.
please let me know , if you have found the solution for this issue. I am also facing the same issue with my project , I need to get the delivery reports and read receipts in to list of mail messages.