Attachments not getting download

Hi, everyone,

I am in a automation where i am trying to get latest email.and downloading attachemets.so i am using
-use outlook 365
-get newest email
-download email attachements.

problem is bot excutes but file is missing in downloads.

other way i tried is-
-use outlook 365
-for each email (applyed filter)
-save file attachment
In this way file is getting downloaded but mail is not latest one.(its chosing old email)

Hi @Hemant_Deshmukh Did you tried with get outlook mail message or imap?

@Hemant_Deshmukh,

In your first approach the attachments will be saved to default file path.

The default download path is: C:\Users{username}\AppData\Local\Temp\ .

Thanks,
Ashok :slightly_smiling_face:

@Hemant_Deshmukh

The output of save attachments can be used to get the path…

Attachments(0).LocalPath will give the pth of the file

Cheers

this folder is empty

In save attachment property pass the path where you want to save the attachment
please find below screenshot

@Hemant_Deshmukh,

In this case Anil’s solution should work. Try it.

https://forum.uipath.com/t/re-attachments-not-getting-download/773163?u=hemant_deshmukh

hi @Hemant_Deshmukh
please mark as solution as it resolve your issue

1 Like

@Akash_Javalekar1 What was the actual solution to this issue? Could you please post the solution in this topic?

Hi @loginerror
Please find solution for the above issue

Email_Trigger.zip (3.4 KB)

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