Mailkit.security.authenticationexception when trying to send a mail using SMTP

image

Please help me in resolving the issue.

I have created a flow where it will automatically create a .csv file and this mail should share via a GMail to other mail .But unfortunately I am facing the above error.
My details that entered in the properties pane are correct and are working manually.
SMTP port I used 465,993 but no use .

Thanks
Puja

Hi @puja_pasupuleti !
Welcome to UiPath Community :grinning_face_with_smiling_eyes:
Try with port 25, or 587 please.
Also, do you confirm that you downgraded your Gmail security ? By default, Gmail blocks UiPath.
Would you mind sending us a screenshot of the way you filled in the properties ? Be sure to hide us the password and mail address :wink:

Thanks Hiba :slight_smile:
I will try this and come back .

1 Like

hi HIba,

i’ve been using IMAP successfully for weeks to clean up my emails by moving some to Trash ( via port 993 ) and suddenly yesterday i received a security warning prompt from google asking me if i wish to block 3rd party app access my gmail but without telling me what is the 3rd party app.

at that point i forgot i was running UiPath and instinctively i just click “yes”. and so now my UiPath is blocked.

How do i get it back to work again? when i go to my gmail setting, in my google account, i still see that UiPath is still registered as : " Third-party apps with account access " and it has not been removed!

so how is it that it has stopped working now when i run the same robot? How do i get it back to run again?