foramit11
(Amit Kumar)
January 15, 2025, 10:47am
1
I am using “GET IMAP Email list” activity to get the mail from gmail account with filter expression “[ SUBJECT ]= Here’s the 6-digit verification code you requested” and tried all the filter expression . And i am using character set “US-ASCII”.
This filter expression works in the “GET OUTLOOK MAIL MESSAGE” activity
NOTE - Workflow is in C# environment
I get this error - Get IMAP Email List: The IMAP server replied to the ‘SEARCH’ command with a ‘BAD’ response: Could not parse command
Hi!
Take a look at this:
The UiPath Documentation Portal - the home of all our valuable information. Find here everything you need to guide you in your automation journey in the UiPath ecosystem, from complex installation guides to quick tutorials, to practical business...
Try this
“SUBJECT ““Here’s the 6-digit…”””
foramit11
(Amit Kumar)
January 15, 2025, 12:57pm
3
Thank you ! but it is not working
Ok!
Could you please take a screenshot of your activity and your filter expression.
Thank you!
And also your filter expression
Thank you!
Did you try with
“SUBJECT ““Here’s the 6-digit verification code you requested”””
Just copy the line and paste it into the filter.
foramit11
(Amit Kumar)
January 16, 2025, 10:33am
10
Thank you , but i got below error
Nice!
That error means that the double quotes that you copied isn’t properly recognized by Studio
Try typing the quotes or the entire expression yourself.
Related thread:
Assign: Expression Activity type ‘VisualBasicValue`1’ requires compilation in order to run - Help / Studio - UiPath Community Forum
foramit11
(Amit Kumar)
January 16, 2025, 12:36pm
12
i typed this “SUBJECT ““Here’s the 6-digit verification code you requested”””
but same error - Get IMAP Email List: The IMAP server replied to the ‘SEARCH’ command with a ‘BAD’ response: Could not parse command
The ’ might be the cause of the issue, try using an escape character
Like this:
“SUBJECT ““Here\'s the 6-digit verification code you requested”””
Experiment a bit.
foramit11
(Amit Kumar)
January 16, 2025, 1:59pm
14
Ok Thank you , lets do some experiment