Lotus notes 8.5 email management

Hey,

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…

Please, can anyone help?

Subject: Lotusscript

Yes, it is not very hard in Lotusscript.

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.

Subject: This should work

Subject: Already tried searching in Google

Thanks a lot, but that option was posted back in 2001 apparently and when I try it on my Lotus Notes all the lines present an error :expressionless:

Subject: What error

That code looks fine, even if it is from 2001. Share more about your error, where the code is running etc.