Open Victor-D opened 6 years ago
Thanks for the submission @Victor-D . I'll see what I can do for you.
The opposite would also be useful. Many emails contain spammy disclaimers with embedded images for twitter, facebook, etc. In our support ticket system its often difficult to find the right attachments like log files or documents, between all the spam images. Also, it wastes storage in our database.
Deleting all embedded images could also be a problem if somebody pastes a screenshot in an HTML mail. I think this hard to distinguish.
The best would be a heuristic to detect email signatures like "--\n" and delete all embedded images from there on.
It should be nice to have an option to remove all attachments but keep inline images.
Content-Disposition: inline; vs Content-Disposition: attachment; sample.zip