How to move mail based on attachment name in outlook

Hi,

Please help me with this issue to move mail based on attachment name in Outlook

Thanks
Farha

If(mail.attachment.Name = “SomeGivenName”)

  1. Get mail message activity.
  2. Save mails into a variable
  3. For each loop - Loop through type " System.net.MailMessage"
  4. For each loop - Loop through attachments. Type argument = System.Net.Mail.Attachment
  5. IF(attachment.name.contains(“RandomWords”)
  6. Move mail message activity