Hi,
I have this process:
- I have a website
- I log with user and psw
- I get an otp on a mail that I can read with IMAP
- I need to read the code and write into the page to continue log in
Any suggestion/tutorial to deal with this scenario?
Hi,
I have this process:
Any suggestion/tutorial to deal with this scenario?
Hi @Erradish
Fallow the steps below:
Connect to IMAP
Get IMAP Mail Messages
For Each mail in mails:
a. If mail.Subject.Contains(“Your OTP Subject”):
i. Use Regex to extract OTP
For example:
Create variable otpCode
Use the activity Assign
otpCode = System.Text.RegularExpressions.Regex.Match(mail.Body.ToString(), “\d{6}”).Value
Type Into “OTP Input Field” with extracted OTP
Click “Login Button”
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.