IMAP callbacks

Hi!

I want to catch and modyfy all notes that mail clients gets from Domino server via IMAP.

I were tried to set callback on EM_NSFNOTEOPEN, EM_NSFNOTEOPENEXTENDED and EM_NSFNOTEOPENBYUNID.

The callback function is called sometimes, but it don’t called for a notes, that client getting, only for some service notes.

Also i tried to catch EM_NSFNOTECLOSE. It catching successfully, but if i modify catched note, and call NSFNoteUpdate( with various combinations of flags ), nIMAP.exe crashes and crash all server.

How could i catch and modify notes?

Subject: IMAP callbacks

On other protocols, such as POP3, SMTP and NRPC this method working exellent. What can be a problem in IMAP?

Subject: RE: IMAP callbacks

up