Michael Collette wrote: >Stepping WAY out of my personal knowledge base here, but I would assume >that there must be functions for dealing with decoding attachments and >saving them to disk. I would imagine that the bulk of change would involve >the removal of the attachments from the E-Mail itself. > Yes, but that's all but trivial.
You have to create a new message, that has to have the exact same content than the original one, but the part of the attachment has to be new. It has to have some non-specified content. (So far, that's also needed to delete an attachment.) You have to save the filename. Then, you need to modify the message viewer to show and open the attachment as saved file. Then, you'd need to modify the move/copy mail function to adjust the pathname. This has to work for drag&drop in the 3pane, the File button, the Search window, filtering etc.. If there's a bug in the attachment removal, you'd have a critical dataloss bug that is affecting all users. This is assuming we know about all the issues already. If you ask me, the risk of implementing this is higher than that of your AV scenario.
