Hi Team,
When I’m trying to filter emails with sender email address,
“[senderemailaddress]=xxxxx” seems to be working if in sender email address’s username doesn’t contain DOT(.)[for ex: it’s working for info@mail.uipath.com . But not working for abc.xyz@gmail.com ].
This is the error screenshot:
Also tried filtering with this, but no luck:
Can someone please check if it is a bug or something in the Mail activities package.
I am using below versions:
Studio Verion:
UiPath Studio Version: 2022.10.3
1.18.2 for UiPath.Mail.[Activities] (Activities ).
Raised a query in forum as well:
Hello Everyone/@Palaniyappan
So another observation is the filter:
“[senderemailaddress]=xxxxx” seems to be working if in sender email address’s username doesn’t contain DOT(.)[for ex: it’s working for info@mail.uipath.com . But not working for abc.xyz@gmail.com ].
Can someone please check if it is a bug or something in the Mail activities package.
I am using version:
1.18.2 for UiPath.Mail.Activities.
Thanks!
If someone can please look into this?
Thanks,
Deepika
Yoichi
(Yoichi)
March 20, 2023, 12:40am
3
Hi,
How about using backslash as the following? In my environment, it doesn’t throw exception. (it fails if backslash doesn’t exist.)
"[senderemailaddress]=xyz\.abc@example.com"
If your input is dynamic, String.Replace method (or Regex.Replace) might help you. address.Replace(".","\.")
Regards,
Anil_G
(Anil Gorthi)
March 20, 2023, 4:40am
4
@deepika.garg
The second urn filter you gave is missing double quotes around the urn part…please use it like this and check
"@SQL=""urn:schemas:httpmail:fromemail"" like '%abc%'"
Even for sender email …email should be enclosed in single quotes like below
"[SenderEmailAddress] = ’abc@xyz.com‘"
Cheers
Hi @Yoichi ,
Thanks for the reply!!
Apologies for the late response
It’s not throwing any exception. But it’s not fetching the email either with backslash.
@Anil_G
I tried but not able to get the emails.
Tried with\without Backslah:
Thanks!
AlexCrijman
(Alexandru Crijman)
July 25, 2023, 7:44am
7
Hey Depika,
I will raise an improvement to my colleagues to see how we can escape dot(.) and if there are other scenarios we should take into consideration and we will come back to you.
Thank you for raising this issue.
1 Like
Thanks @AlexCrijman !! Look forward to solution!!
donghai
(zhaodonghai)
October 14, 2023, 4:32am
10
Hi @AlexCrijman
Dose [SenderEmailAddress] only filter mails that have different domain with receviers?
BR,
Donghai
AlexCrijman
(Alexandru Crijman)
November 13, 2023, 2:01pm
11
Hey everybody,
We’ve checked on our side and if you filter using the bellow syntax it should work.
“[SenderEmailAddress] = ‘a.b@c.com’”