Hello.
I am new to UiPath and i have one query.
Get IMAP Mail Messages: Invalid credentials (Failure)
i have this error in my program and i dont know how to remove this can you please explain.
No i am still stuck on that problem
Can you share any kinda screenshot of your error or something ???
Kindly check with these pls
—Username and password of the user mentioned in the property panel of IMAP mail activity
—In ur gmail Accounts settings Turn on “Allow Secure apps” and try the workflow.
—also make sure that IMPA is enables
—and finally here you go on how to create app password in gmail for UiPath
https://docs.uipath.com/studio/standalone/2022.10/user-guide/enabling-gmail-for-email-activities
Welcome @komal.dole1
How is UiPath studio going with you? Are you able to solve your problems that you are facing?
Regards
Get IMAP Mail Messages: Application-specific password required: Sign in with app passwords - Google Account Help (Failure)
now i am getting this error
Pass the Password in the Secure password field in the Get IMAP Mail messages activity properties. Because the Get password activity output is Secure Password.
Hope it helps!!
Change the Pwd variable type to secure string
Hi @Stuti_Dutta
Can you give a try by giving the Password (Hardcoded)directly in the Properties Panel whether it is working or not.
Hope it helps!!
Click on the variable panel and select the variable and in the dropdown select the browse for types and in the search filed change the variable type.
Regards
Hi @Stuti_Dutta
This is the way to convert string to secure string
New System.Net.NetworkCredential(string.Empty, Pwd).SecurePassword
If you are using gmail then you need to use app password and not your normal gmail password here
please check this
https://docs.uipath.com/studio/standalone/2022.10/user-guide/enabling-gmail-for-email-activities
cheers
Get IMAP Mail Messages: Application-specific password required: Sign in with app passwords - Google Account Help (Failure)