Li_Eric
(Li Eric)
June 20, 2025, 4:24am
1
I found GetOutlookMailMessages activity did not work for below email file. Could any body tell me the cause of the problem? Thank you.
【纠正标题】 Classic Highland Cow Jennifer Tao 20250605 .zip|attachment (286.2 KB)
correct email: Classic Howly Jowly Toy Bundle - All Dog Sizes Diego Qian 20250619_.zip|attachment (126.2 KB)
Dear @Li_Eric ,
Could you please try to implement below flow & check.
Make sure you have unread email present in your inbox.
Br,
NikZ
@Li_Eric ,
Could you please elaborate more on what do you mean by not working? Also what you are trying to achieve?
Li_Eric
(Li Eric)
June 20, 2025, 5:02am
4
Hi @Nikhil_Zambare1 , can you get the content of my email with UiPath?
I have used this automation for years. It works well. The email I uploaded is the only exemption, so I wonder the email itself has some problem.
Li_Eric
(Li Eric)
June 20, 2025, 5:04am
5
Hi @ashokkarale
I want to get the information in the email. It worked well for other emails. But it got nothing from this email.
Dear @Li_Eric ,
I suspect issue in email due to confidentiality, encryption or formatting.
Could you please let me know if you found anything speacial regarding this email.
As I see your GetOutlookMessage activity succesfully showing retrived email as count 1, but not able to disply data.
Br,
NikZ
Li_Eric
(Li Eric)
June 20, 2025, 5:56am
7
Hi @Nikhil_Zambare1 ,
This email appears to be normal except the distance between tables are larger. I just uploaded a correct email in this post.
Anil_G
(Anil Gorthi)
June 20, 2025, 6:22am
8
@Li_Eric
just to make sure can you click forward and send the email to yourself and check if that works
cheers
Li_Eric
(Li Eric)
June 20, 2025, 6:34am
9
Hi @Anil_G
I can forward this email to myself, but the content cannot be got by GetOutlookMailMessages.
Anil_G
(Anil Gorthi)
June 20, 2025, 7:15am
10
@Li_Eric
Even the forwarded email gives the same error?
If you open the exception message does it show any other details of exception?
Cheers
Li_Eric
(Li Eric)
June 20, 2025, 7:34am
11
The GetOutlookMailMessages activity didn’t throw exception. Just the return values (i.e., currentitem.subject, currentitem.body,…) are null.
Anil_G
(Anil Gorthi)
June 20, 2025, 7:36am
12
@Li_Eric
I can see exception has been thrown by target invocation error if you double click and open does it show any inner exception details?
Also if it is occuring only for specific email then mostly it should be the email encryption issue
Alternately try considering smtp or o365 activities which handles emails in different ways and that could sort the issue
Cheers