Outlook get emails - missing attachments

Scenario:

When using “Get outlook mail messages” UiPath grabs a list of all messages from outlook. In case one email contains more attachments and one attachment of them is empty (e.g. empty text file) UiPath looses the attachments of this email coming in the list after the empty attachment.

E.g.
One e-Mail with 8 attachments. All files are the same except the 4th one which is completely empty.
In this case UiPath only recognizes 3 attachments. All attachments listed after the empty attachment are lost!
image

Steps to reproduce:

  • Create one email
  • Attach an empty file (empty text-file, file-ending is not relevant - in tests i usually used “test.txt”).
  • Attach other attachments (same or different files)

!!! THE EMPTY FILE SHOULD BE AT THE BEGINNING OF THE LIST OF ATTACHMENTS !!!

Send this email to an account you can read with outlook from

  • Use get Outlook mail messages
  • print out the number of attachments attached to the email

Current Behavior:

All attachments before the empty file are read
All attachments after the empty file are LOST
image

Expected Behavior:

All attachments are read / available in UiPath
image

Studio/Robot/Orchestrator Version:

Last stable behavior: -
Last stable version: -
OS Version: Windows 10
Others if Relevant: (workflow, logs, .net version, service pack, etc):

@markus I have recreated the steps as u said, uipath is downloading all files from outlook, i have included 2 empty files in between. It is working fine for me.

1 Like

thank you very much for your answer. I figured out that my UiPath.Mail.Activities was one version behind the current one. With the new version 1.2 the problem is solved :slight_smile: Thank you for the tryout.

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.