This is usually related to 2-step authentication. Something you can test out easy: generate a google app password and use that instead of your normal account password.
I am facing the similar issue (ERROR : “Send SMTP Mail Message : Authentication failed”) ,
Should be there any additional settings must be done on the SMPT server for the ID that used for sending email ? which is currently configured with host server where orchestrator is installed(And I am able to send emails using command line from that host.)
You could ask the IT team to make modifications in the server settings to allow less secure apps(it seems like it “sees” UiPath Robot as a less secure app and that’s why it’s not allowing the Robot to access the server)
or
Install Outlook and access the SMTP server via Outlook, as it is a high secure app so the SMTP server will not restrict it.
Here are some links that will guide you more about the SMTP restrictions in Gmail server(which is also a SMTP server):
There are ways to allow low secure apps to access SMTP server. For example, to access gmail server, you need to provide app generated password instead of user password. Similarly, if your SMTP server has some security setting like that, you can use it.
No, We cannot make any settings to our Corporate SMTP server.
Instead we used OUTLOOK for email functionality.
Also we can use (Invoke code Activity) vb.net code to send email using SMTP.
System.Net.Mail namespace should be imported by default in Studio. You would be able to see it by clicking “imports” on the bottom and scrolling through to find it. If you can’t , then just type it above to import it.
Once System.Net.Mail is imported, then you’ll have access to it and can use SmtpClient class in invoke code activity.