How to read email from outlook website?

Hello everyone. Can you help me this problem? How to read email from outlook website.
I already read email from outlook app by Get Outlook mail activity.
But I tried with Outlook Website can’t do.
I also doing step by step as below :
+ Open website( https://outlook…)
+ Typing to login
+ Extract datatable to get data from website.
→ Result still can’t do :frowning:
Anyone can teach me another way in this case?

Hi @Dava_Macos,

Accessing outlook via its available outlook activities is the faster and better way.

Hence, I am trying to understand- Why do you intend to do it via frontend? Is it for learning purposes or a requirement?

Regards
Sonali

Hi @Dava_Macos ,

Option 1: UI Automation (More Complicated)
You can use UI automation to log in to the Outlook website and extract email data, but this approach can be complex and less reliable.

Option 2: Use the IMAP/POP3 Protocol
You can configure IMAP or POP3 to connect to Outlook Online:

Enable IMAP in Outlook:

Go to Settings in your Outlook Online account.
Search for IMAP/POP settings and enable IMAP.
Configure UiPath:

Use the Get IMAP Mail Messages activity.
Provide the following details:
Server: imap-mail.outlook.com
Port: 993
User: Your email address.
Password: Your password (use an app password if MFA is enabled).

You can watch this youtube video: https://www.youtube.com/watch?v=GTU8bot3OEM

I hope this helps!

Regards,
Vinit Mhatre

@Dava_Macos,

I would suggest to avoid this approach as it’s non reliable and unnecessarily complicated.

If this is working what’s the reason for going Ui automation approach?

Hi @sonaliaggarwal47
Thanks for your respond!
I also think using outlook app through Get outlook mail activity is the best.
My purpose to studying whether have another way to do.
Best Regards,
Masco

Dear @ashokkarale
Many thanks for your recommend!

1 Like

Dear @Vinit_Mhatre,
Thanks for your kindly support!
I got it. I will try option 2.
Best regards,
Macos

1 Like