Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

inputFilesPattern/ actions for removed attachments

#3172

Hi, I'm writing a bundle which uses inputFilesPattern to process attachments.
I would like to process the same files which the native Remove Attachments function deletes.
What is the pattern you use here? Something like this:

inputFilesPattern    = "multipart/(mixed|alternative|related) (application|image)/";

Is there also an action that a bundle can use to delete attachments?

Reported by steffen · December 22nd, 2022 @ 01:28 PM

State: new
Milestone: none
Assigned to: benny benny

Activity

  1. steffen
    steffen

    After further experimentation I understand that I cannot come up with a simple pattern that matches the same attachments that MailMate determines and removes. It seems to use further attributes. However, I don't need that if I had an action to remove an inputFile by its partID. I would use that to archive and delete all image/ & applications/ files.

    December 28th, 2022 @ 10:55 PM

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.