it says login failed though the credentials are correct.
Hello @Mamidwar_Anil_Ramlu
Kindly verify that your password variable was in “Secure String”
Yes it is ,i tried with own credential as well in string format still it says login failed
Kindly check the User name password, may be case-sensitive issues like upper case, or lower case.
You need to handle the SMTP in TryCatch activity and In Catch Block Use Exception so that We can get the clear Analysis of the issue.
error message in try catch. this error is for IMAP
Hi @Mamidwar_Anil_Ramlu ,
This problem is due to microsoft removing all basic authentication for outlook starting on the 1st of October and being rolled out across all tenants in the coming weeks and months.
Please see this link from Microsoft for full details
Deprecation of Basic authentication in Exchange Online | Microsoft Learn
There are a couple of solutions possible.
Thanks
Glenn
@Mamidwar_Anil_Ramlu Could you please try extending the timeout session of the IMAP activity
Regards
Sreejith S S
I can confirm Glenn’s take on this is the most likely cause.
You need to set up an Azure connection and once it is setup to use IntegratedWindowsAuthenticaion, install UiPath.MicrosoftOffice365 package.
Once you installed the package use the Tenant ID and Application ID to connect using the Office 365 Scope, within this you use the specific mail activities you need.
Google it and thou shall find it!
Be aware of using the the feature of Application Secret or Certificate. If permissions are set as most online tutorials outline, you may accidentally give the robots access to ALL domain-wide email accounts. Hence we use IntegratedWindowsAuthentication without issuing a Application Secret or Certificate.
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.