Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RFE | Remove all attachments but inline images #1

Open
Victor-D opened this issue Mar 2, 2018 · 2 comments
Open

RFE | Remove all attachments but inline images #1

Victor-D opened this issue Mar 2, 2018 · 2 comments

Comments

@Victor-D
Copy link

Victor-D commented Mar 2, 2018

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

@inflex
Copy link
Owner

inflex commented Mar 3, 2018

Thanks for the submission @Victor-D . I'll see what I can do for you.

@gergap
Copy link

gergap commented Feb 5, 2019

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants