I'm using C API for developing my application in Lotus Notes. I'm working in Anti-virus company. So I need to develope antivirus for Lotus Notes. In initial days,
1)I have used NoteUpdate in DBHOOK, but in that case i'm not able to extract the attachment, bcz it is showing me that "the specified database is not currently open". Then i was struggle in that lot of day...
2)Then I used NoteOpen in DBHOOK, here i'm able to extract the attachment, but the problem is that if I sent mail to 20 users, then noteopen called 20 times. I think that each thread for each user. In some case, i need to reassemble the mail(ie replace body and replace attachment). If i do it on first thread, then the new modified content present in the first thread, from second thread onwards i'm getting old data(not getting new one). Bcz of that, I reassmble mail for all the thread. But now the porblem is, Sometime it show down the process. ie. taking lot of time to deliver the mail(it is reassmble mail for all thread).
So how do i solve this problem. if anyone know the solution for 1st case (or) 2nd case. Pls let me inform....