java - How to capture "send mail" in plugin for IBM Lotus notes -


here trying do: add special button attach files notes "new message" window. if files attached using button, when email sent, should uploaded server , link them added email.

my question - possible (and how) capture "send mail" event in plugin lotus notus?

i don't know how eclipse plugin this. furthermore, since notes can used off-line -- when impossible upload files server -- better have code running on domino server intercept mail messages , perform upload.

most products hook mail operations on server use lotus notes c api's extension manager functions hook em_before notification em_nsfnoteupdate event , check whether nsfnoteupdate operation occurred within server's mail.box files, , check whether the message requires special processing (i.e., in case looking special notesitem button code has inserted message). usual coding method change status of message put on hold, preventing domino router attempting send message while code still working on it. many products have 2 components - em hook dll , separate server task receives signal hook dll, processes message, , releases on hold status. approach keeps code tying router threads while processing large files.

(note: newer versions of domino server have ability use osgi plugins written in java instead of using notes c api operations this. i've not looked details of how might work operations process mail messages. )


Comments

Popular posts from this blog

Why does Ruby on Rails generate add a blank line to the end of a file? -

keyboard - Smiles and long press feature in Android -

node.js - Bad Request - node js ajax post -