Find text in an email

Hi, I would like my robot to find text in an email, in outlook. I need to find two values in a message.
How can I do this?

@sullivanne

You can get the mails usign get mail activity then mail.body will give the body…then can use mail.body.contains("abc")

cheers

@sullivanne

  1. Get Outlook Mail Messages

    • Output: mailMessages (List)
  2. For Each mail In mailMessages

    • Body: For Each mailMessage In mailMessages
      ForEach TypeArgument = System.Net.Mail.MailMessage
      (Add activities inside this For Each)
  3. Assign activities inside For Each to extract values

    • Assign: emailBody = mail.Body
      use log message activity (emailBody)