SpartaSystems / holdmail

HoldMail is a Java Application for proxying SMTP mail, providing a browsable viewer for captured emails.
Apache License 2.0
34 stars 15 forks source link

Issue #14 - list shows whether mail has attachments #69

Closed barryoneill closed 6 years ago

barryoneill commented 6 years ago

Issue #14 - Add 'hasAttachments' flag to /rest/messages model. Decided against patching existing data, as the simplest patch:

update message set has_attachments=1 where message_body like '%Content-Disposition: attachment%';

could be too expensive for those with gigs of attachments. (I.e. that chap that complains about performance of his large DB).

Also: :football: :football: GO EAGLES :football: :football: