How Can I Download .xlsx attachments only from Particular Email?

How Can I Download .xlsx File from the particular Email Address ? I am able to download all but I just need .xlsx as it is downloading symbols and every Image (Signature Images).

Please provide Help to get particular email and Attachement.

@PALKUMARI_PATEL

If youa re using office 365 then try using for each email activity ans save email attachments activity…they have in build filter options in them

Cheers

1 Like

Hi @PALKUMARI_PATEL

just add an “.xslx” in the filter property of your save attachments activity
image

Regards

1 Like

Got it. And how about filter Email account ? I mean want to read only Emails from ABC account.

in your get outlook emails activity, put this filter in the filter property

"[SenderEmailAddress] = 'xyz@xyz.com' "

Regards

1 Like

I used that and that is working for outside of Company’s emails. For all emails it is not working. It gives me 0 count if email is from our company.

Give a try with

(From m In mailMessages
Where m.Sender.Address.Trim.Equals("yourEmail@email.com")
Select m).ToList()

Regards

1 Like

Hey @fernando_zuluaga This is working and Thank you so much for the help.

1 Like

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