I am trying to explore reading email messages using LINQ Query. But I haven’t found any dot net code(LINQ Query) (or) solution to read email messages. Could anyone help me out?
Hi @Naren_Bagavathy1
Use Get SMTP mail message activity to get the mail message from Gmail. Reading the mail means viewing the mail content right. You can just store the content in the mail message variable. I think we couldn’t use Linq here.
You can use LINQ to query different types of data sources such as SQL, XML, In memory objects
My pleasure. But there is only Send SMTP Activity to send an email. There is no Get SMTP activity to read email messages.
Update the Mail package in the Manage package and check it.
Can you tell us what is the UiPath Studio version?
Regards
Gokul
Hi @Naren_Bagavathy1
Yes, there is no Get SMTP activity, but you could use below mentioned activity in screenshot to get that email by id
Hello @Gokul001,
Thank you so much for your response. I updated the mail package just as you mentioned. The mail activity version is 1.18.2.
In my environment I can find the Get mail activities, Have you able to find these activities?
Regards
Gokul
Thank you @sangeethaneelavannan1. I tried the “Use Gmail Activity & Get Message By Id Activity”. But will “Use Gmail Activity” be able to read mail messages from multiple different Gmail accounts?
Yes, I can.
No,you could use one Gmail account as per the design
But I need to get email messages from Gmail. So why do I need to use “Get Outlook Mail Message Activity”?