Get Outlook Mail Message


#1

Scenario:

Hi, While trying to get outlook mail messages, We are unable to get mails which has display names inside single quotation. For example, it is searching for abc@gmail.com whereas it can’t able to find ‘abc@gmail.com’ which is inside the same folder

Steps to reproduce:

Current Behavior:

Error: Index was out of range

Expected Behavior:

Studio/Robot/Orchestrator Version:UiPath Studio Community Version 2017.1.6325

Last stable behavior:
Last stable version:
OS Version:
Others if Relevant: (workflow, logs, .net version, service pack, etc):<img


#2

Inside foreach
item.From.Address.Contains("abc@gmail.com").ToString


#3

Hi…I am using filter option for “To” address inside get outlook mail activity. There I can’t able to give contains or like.


#4

"Filter " never worked for me. so i used the conventional way of sorting it.
Try with looping it will work.:+1:


#5

Oh. But I will have some 15k or 20k mails in a folder. So while looping it may take very long time for every loop. Anyway thanks a lot for your update.


#6

Did you update your mail package yet?


#7

Hi… Thanks for your suggestion. But still am facing difficulty on how to use contains inside filter. My exact scenario what I was using is “[To] = ‘abc@gmail.com’” and the address in my mailbox is ‘abc@gmail.com’ and not like abc@gmail.com.


#8

Did you try Display name instead of Email? [To] = abc?

What exactly are you trying to enter into the filter property?


#9

Yes. I tried with both display name and email but both of them are not working. I am trying to filter out using ‘To’ addresses inside a particular folder. The email ids with single quotes are not retrieving whereas I can able to filer email ids without that single quotes.


#10

Hi Vivek,
I’m facing a similar issue where I’m trying to apply filter on [From]. Did you get a break through ?
Please share your findings.