My requirement is read only today’s outlook mail on the bases of subject
Please help me
My requirement is read only today’s outlook mail on the bases of subject
Please help me
Have a look on the document
Try with this expression
"[Received] = '"+DateTime.Now.ToString("dd.MM.yyyy")+"'"
Regards
Gokul
My requirement is today’s mail base of subject.
Can you share us with subject template here @Vishnu_Reddy1
"[Received] >= '" + DateTime.Today.ToString("dd.MM.yyyy") + " 00:00AM'"
Using the above method you will get a list of email that you have received today after that you can use linq as below to get the email that contains subject as per your requirement.
ListMailMessage.AsEnumerable().Where(Function(x) x.Subject.Contains(“RequiredString”)).ToList
Thanks,
Sanjit
Hi @Vishnu_Reddy1,
please read all current datetime mails and run loop on mail messages.
and in for loop place if condition where put a subject related condition.
if the condition is true then put all the action in then block.
otherwise go for next
Tq Gokul
My next requirement is read tha mail body
In output
How to extract that output data write into one excel spicipic coloum… please help me
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.