I’m working with Lotus Notes 8.5, in Windows 7, and I really wanted a way to download and remove all attachments from a selected group of different email messages.
I’ve been looking for solutions online but everything I can find is either old, or not working in 8.5.
Does anyone know an Agent solution for this? Or any other? I know how to archive, and this is not the solution I’m looking for… I just want to keep the emails and get rid of the attachments without opening one email at a time…
The code Carl Tyler linked to should work fine, or you could write something similar yourself.
I wrote an agent 5-6 years ago that did pretty much what you are asking for (detached and removed all attachments from a collection of documents), but I don’t have it handy.
IIRC it was only like 20 lines of code or something, you should be able to write it yourself.
Look at the NotesEmbeddedObject class, there are plenty of sample code in the online help.