Save Attachment activity problem

Hello Guys, you fine? :slight_smile:

Does anyone know why this is happening?

image

My email input:
image

Output:

Basically, when I try to download an attachment from a mail it comes with a bunch of icons.

Any idea?

Hi @Andre_Vieira ,

Sometimes even in the mail , we can see those iconcs like “Company LOGO” etc .

Use for each activity to loop through all attachments of the mail and if you need only pdf’s use IF condition to check fileName.tostring.toupper.contains(“PDF”) to keep only PDF else delete remaining files.

Hope It Works

1 Like

You’d have to write conditions to accommodate whatever file extensions you want to keep. .PDF .DOC .DOCX .XLS .XLSX etc etc

1 Like