Authentication Failed: Invalid Credentials error while using SMTP or IMAP services

0 votes

I created a RPA bot usimng Uipath and wanted it to read mails from gmail and also send mails to my gmail account, but every time I am running the code I'm getting this error- 'Authentication Failed'. Sometimes it says Invalid Credentials, but I am putting the right credentials for my gmail login.Please help, if anyone knows how to resolve this issue? 

Mar 4 in RPA by Smita

edited Mar 4 81 views

1 answer to this question.

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.
0 votes

Hi @Smita, you are facing this problem because Gmail allows highly secure transmissions and blocks any app which tries to access or send mails to gmail. So to resolve this error, try allowing the 'Allow Less Secure Apps' feature in security settings of your google account. 

Go to this link https://myaccount.google.com/ and click on  'Security'. Then scroll down and navigate to 'Less Secure App Access'. Now click on 'Turn On Access'

Now run your bot and try sending or receiving email. I hope it will work.

answered Mar 4 by Anvi
• 5,960 points

Related Questions In RPA

0 votes
1 answer

Which is better IMAP or POP3 while accessing mails from UiPath?

Hey Sofia, to understand which one is better ...READ MORE

answered Mar 11 in RPA by Abha
• 6,370 points
31 views
0 votes
1 answer

Error : Failed to perform step 1 in Navigate Stage '-----' on page '----' - Not Connected

Do you have Attach bookmark created? When ...READ MORE

answered Sep 28, 2018 in RPA by Priyaj
• 56,120 points
1,964 views
0 votes
1 answer

Error while spying the element Index outside bounds:array:BluePrism Java app

This solution will work for only 64-bit ...READ MORE

answered Oct 22, 2018 in RPA by Priyaj
• 56,120 points
300 views
0 votes
1 answer

Error while spying the element Index : outside the bounds of the array :BluePrism Java app

Only for 64-bit windows 7 or higher version ...READ MORE

answered Oct 24, 2018 in RPA by Priyaj
• 56,120 points
226 views
0 votes
1 answer

Robot Manager in UiPath

the robot.exe file is located in: C:\Users\USER_ACCOUNT\AppData\Local\UiPath\app-17.1.6523\Ui-Robot.exe Hope it ...READ MORE

answered Apr 17, 2018 in RPA by wrecker
• 3,090 points
237 views
0 votes
1 answer

Automation in Uipath

you can use the Database package for connecting  ...READ MORE

answered Apr 17, 2018 in RPA by wrecker
• 3,090 points
190 views
0 votes
1 answer

UiPath vs Workfusion

in WorkFusion, you can create a script ...READ MORE

answered Apr 17, 2018 in RPA by wrecker
• 3,090 points
776 views
0 votes
3 answers

Any open source tools for RPA ?

Yes, here is the Free RPA tool ...READ MORE

answered Oct 24, 2018 in RPA by Karthiksiddhu
• 240 points
123 views
0 votes
1 answer

How can I check if an element or window exists using UiPath Studio?

Hey @Priya, for checking if an UI ...READ MORE

answered Mar 20 in RPA by Anvi
• 5,960 points
259 views
0 votes
4 answers

Pivot table in excel using UIpath

You can use Create Pivot Table activity ...READ MORE

answered Feb 25 in RPA by Anvi
• 5,960 points
546 views

© 2018 Brain4ce Education Solutions Pvt. Ltd. All rights Reserved.
"PMP®","PMI®", "PMI-ACP®" and "PMBOK®" are registered marks of the Project Management Institute, Inc. MongoDB®, Mongo and the leaf logo are the registered trademarks of MongoDB, Inc.