I’m trying to save an Excel file in the attachments of an email. There is only one attachment to the email. but for some unknown reason Ui path thinks the logo in the text is also an attachment and saves it with the Excel file.
i triied to loop through the attachments and extract the xlsx file but I can’t figure out the method for the type
Edit: I found the solution.
SOLUTION: apply this filter: “.*(?i)(.xlsx|.xls)”