aapostol
(Aapostol)
1
Hi UiPath,
I need help let say I want to use the .contain method in get outlook mail message how can I do that?
I understand that I can use for loop and get it using the subject.contain however I want to filter it first before looping on the mail messages.
Please advise and let me know
thanks!
Gokul001
(Gokul Balaji)
2
Hi @aapostol
Try use this expression
Contains should not have an asterisk.
Either use item.Subject.Contains("Request")
or item.Subject Like "Request*"
You need more information refer the Link:
Regards
Gokul
2 Likes
Yes you need to use the loop to fetch the mails.
inside the loop you can use if for the purpose of contains. let’s say if you wants to fetch the mails contains PFA.
you can try like this Item.subject.contains(“PFA”)
this will loop through the every mail
Regards,
NaNI
1 Like
Hi @aapostol
Use Filter Condition like Below!
“@SQL=((urn:schemas:httpmail:subject LIKE ‘%YourValue%’)"
Regards
1 Like
aapostol
(Aapostol)
5
Thank you so much it worked!
1 Like
system
(system)
Closed
6
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.