If Assets value used in SMTP

Hai,
While using SMTP mail in LOGON email and password field i’m taking variables from assets.
But if i give email and password directly in those fields it won’t create problem.
But my intent is to make the email and password to be secure.
Is there any idea or solution to make it happen???
.
Thrown error---->>>>

Main has thrown an exception

Source: Send Mail Message

Message: AuthenticationInvalidCredentials: 5.7.8 Username and Password not accepted. Learn more at
5.7.8 Check Gmail through other email platforms - Gmail Help r26-v6sm3753180pfj.180 - gsmtp

Exception Type: AuthenticationException

MailKit.Security.AuthenticationException: AuthenticationInvalidCredentials: 5.7.8 Username and Password not accepted. Learn more at
5.7.8 Check Gmail through other email platforms - Gmail Help r26-v6sm3753180pfj.180 - gsmtp
at UiPath.Mail.Activities.SendMailActivity.EndExecute(AsyncCodeActivityContext context, IAsyncResult result)
at System.Activities.AsyncCodeActivity.System.Activities.IAsyncCodeActivity.FinishExecution(AsyncCodeActivityContext context, IAsyncResult result)
at System.Activities.AsyncCodeActivity.CompleteAsyncCodeActivityData.CompleteAsyncCodeActivityWorkItem.Execute(ActivityExecutor executor, BookmarkManager bookmarkManager)

Thank you

1 Like