Email Automation with outlook

Hi,

While working with Email Automation in outlook getting login failed error if i try to connect it from the Asset(Credentials) through orchestrator. But it is successful When using the hardcode Email and Password, NO ERROR.
Should I configure or missing out anything else???

Thanks

Screenshot 2024-02-20 180333

Hi,

For now, can you check if ID and password is same as what you expect using LogMessage or LocalsPanel with breakpoint etc.?

Regards,

1 Like

Thanks I followed your suggestion and checked with count and figured the whitespace issue. Thanks a lot for resolving my issue.

Hi,

How did you check password from asset? It’s secure string and we cannot check it directly. Did you convert it to string then check the content?

And also as there may be extra whitespaces, can you check length of ID and password using Length method in LogMessage etc?

Regards,

1 Like

If you want to convert secure string password to string then use below syntax:-

System.Net.NetworkCredential(string.Empty, YourSecureStr).Password

Pass the same in password property.

Thanks

Thanks for helping me out. I tried that and still same login failed error message.

Check IMAP server & port details.

1 Like

Thanks.Got figured it out and its whitespace issue in my password

1 Like

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.