Hello all, I have developed an add-in for Microsoft Outlook and my company needs to export it for Lotus Notes.
It would be an add-in or plugin for Lotus Notes that modifies the content of the mail because we use a specific algorithm designed in the company to encrypt/decrypt mails.
The program is basic, we just need to:
-Send a mail programatically
-Subscribe to new mail received event
-Subscribe to mail sent event
-Subscribe to mail opened event
-Modify mail at a client level
-Add a button in the UI in order to let the user encrypt a mail (decryption will be automatically carried out when one is received and opened).
I’ve been searching the whole day in order to start reading something, but I haven’t found exactly where to start. I still don’t know if I have to use the C library, or Lotus Script or there is something new in Lotus Notes 8, such as a Java library or something that I haven’t heard of yet.
I would thank you a lot if you could answer my doubt.
First of all thanks for answering.Would you ming telling me where I could find information about how to subscribe to mail events (such as, new mail received) through Java?
From what I have read these days the only way I have found to carry it out has been using Lotus C API or LS2CAPI or LSX (correct me if I am wrong).
Thanks again
Does it exist a JNI library with the same functionality than Lotus C API?
-Send a mail programatically This can be done either by using Notes C API or COM objects
-Subscribe to new mail received event
You should do an extension manager in the client side that will keep pollying for the DB for new created documents… there is no event (in the client side) for new emails
-Subscribe to mail sent event
Same than “new mail received event”
-Subscribe to mail opened event
Here it is more difficult… Notes C API will not help, nor COM objects… you will probably need to use Lotus Script and modify the QueryOpen FORM event
-Modify mail at a client level
Here it is more difficult… Notes C API will not help, nor COM objects… you will probably need to use Lotus Script and modify the QuerySave FORM event
-Add a button in the UI in order to let the user encrypt a mail (decryption will be automatically carried out when one is received and opened).
You can use Addin Menus, or Lotus Script (new action)
Take in mind that if you are planning to do a product that will be distributed to customers, Lotus Script will require you to modify the DB and here it’s not a choice (for serious products). However if this is only for internal usage then you can modify the template… but there will be more workload for your administrator