Help me out in solving below scenario.
1.Need to Read incoming mails from outlook.(all mails)
2.Search for a particular keyword in the mail body.
3.If particular keyword exists then validation success.
Note : we need to read every incoming mail no specific sender or Subject line.
we can use GET IMAP MAIL ACTIVITY with both these options enabled
and get the output with a variable of type list of mailmessage named list_mailmessage
–now once after getting the mail list use a for each loop and pass the above variable list_mailmessage as input and in the property panel of for each loop mention as system.net.mail.mailmessage in the type argument property
–then inside the loop use a if condition like this
if true it will go to THEN part where we can have our process or it will go to ELSE part where can have the counter part process (if needed)
hope this would help you
Hello @Palaniyappan ,
We went through steps mentioned by you ,
But we are getting error message. PFB Screen shot for more info.
in for each loop the type argument should be with
Thank You so much @Palaniyappan , i am able read mail body.
Is there any way to scan only unread mail without limit ?
@bhaavan - You can just check unread email checkbox that will help you to read only unread email.
Thank You @sandipauti
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.