Unable to get validation code from Outlook desktop app

Hi all,

Here I’m facing an issue when trying to get the login validation code from email body. The scenario which I’m trying to automate is

  1. Navigate to our portal (any browser)
  2. Select option of login using validation code after entering my email
  3. I should copy the validation code received through email in my desktop outlook app
  4. Enter the code in the same browser and login to the portal

I tried Extract text & Get text, both doesn’t work. Please help me in automating this scenario.

Regards.

@kranthikumar.rudra

Welcome to the community

You can use get outlook mail message to get the mail from outlook you need not use get text…

That would get the mail body and from there we can do string manipulation and extract code

cheers

You don’t use Extract and Get Text, those are UI automation. You use the email activities (ie Get Outlook Mail Message) and then the body text will be one of the properties.

1 Like

Hi Anil,

Should I use it along with “Use Desktop Outlook App” activity

Thanks for your reply

Thankyou Paul for replying

I highly recommend using the 365 activities if your email environment is in 365. Then it’s a direct connection to the mail server instead of having to deal with Outlook.

Also, you should do the free training at academy.uipath.com as it teaches you how to do things like work with email.

@kranthikumar.rudra

If you use use outlook app then use get mail
Inside it

Cheers

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