On Thursday, 24 October 2013 16:51:52 CEST, Thomas Lübking wrote:
Or -actually- would it make sense to just silently turn them into an attachment (so the user doesn't get the hyperdownload by selecting the mail) - eg. if RFC822.SIZE is > 96kB or so? Trojita could then replace the RFC822.TEXT with an internal message "Hello. This is a warning from your friendly MUA. Somebody spammed you a HUUUUUUGE mail. I didn't fetch it, but if you want to see the message, it's available as attachment. Have a nice day."

This already happens when the user is in the "expensive network" mode. The threshold is currently hardcoded at 50kB (src/Gui/PartWidgetFactory.h, look for ExpensiveFetchThreshold).

Cheers,
Jan

--
Trojitá, a fast Qt IMAP e-mail client -- http://trojita.flaska.net/

Reply via email to