Deleting individual attachments

We have a ticket in which several files were attached to email replies. So
the file attachments are now viewable through “Download” links in the
ticket history. The queue owner would like to remove the attached files
while leaving the text part of the email message intact.

Are there any bad consequences of using Attachment’s Delete method by
itself? We’ve used Transaction->Delete before to remove whole
transactions, but we’ve never removed individual attachments.

Thanks,
Steve

Stephen Turner
Senior Programmer/Analyst - SAIS
MIT IS&T

1 Like

I’m not familiar with the API you are referring to, but I’ve used the
(built-in)
RTx::Shredder to remove plenty of attachments without visible
consequence.
Presumably it’s using the same API underneath?

Presumably - though we’re unfortunately still on 3.4 (Shredder isn’t built
in), and we haven’t gotten around to installing Sgredder yet.

Thanks,
Steve

Stephen Turner
Senior Programmer/Analyst - SAIS
MIT IS&T

Years later I face the same question.

Nowadays there is the Admin > Tools > Shredder which can be used to search and destroy individual attachments by filename, but this can be cumbersome when a lot of files are named similarly.

There doesn’t seem to be any other ways though?