How to retrieve verification code from verification e-mail from Microsoft

Hi community,

I’m currently facing a challenge with a “Password reset flow” from Azure B2C (Microsoft). Every time i want to reset my password, I type in my e-mail address and a verification code is sent to a mailbox. I then have to copy this code and enter it in my “Password reset flow” in order to continue and create a new password.
Any thoughts on how I could automate the retrieval of the code from my mailbox?
Thanks in advance!

Hello,
I have done something similar but with a Gmail mailbox. I don’t use the plugin for Gmail but there’s one in the store :
https://store.katalon.com/product/39/Read-and-Write-Gmail-Messages-Keywords

You should be able to find your email and get the text from it. Then you need to parse the email to find the verification code.

If you don’t want to use the plugin, you can use Java mail : https://docs.oracle.com/javaee/7/api/javax/mail/package-summary.html