Are there any events in the Lotus Notes "Lotus Domino Objects" API?

Posted on 2009-02-18
Last Modified: 2013-12-18
Are there any events that can be hooked into using the Lotus Notes API "Lotus Domino Objects" or "Lotus Notes Automation Classes".
I have added a reference to these 2 type libraries and wish to have events fire when an email is sent or a document opened. Is this possible?
Question by:jacbarker
    LVL 22

    Expert Comment

    No.  In order to provide that type of hook, you will need to use the C or C++ API to write an add-in DLL. The DLL that you write will be referenced in the notes.ini file in the "EXTMGR_ADDINS" or "NSF_HOOKS" key.  For example, in my Palm Conduit application, I wrote a login manager hook that automatically logged-in the current user.

    Each library contains several examples.  For my login manager, I started with the C API's EXTPWD example.
    LVL 22

    Expert Comment

    Yes, you mentioned "Lotus Domino Objects", which is a set of objects exposed by Lotus Notes through OLE.

    LotusScript/COM/OLE Classes:

    Here is another link, this one opens the question in which you can find URL for Domino Designer Help, where all Domino classes and their data and function members are explained (also, you have example there of using Domino objects from C#):

    Hope this helps,
    LVL 22

    Accepted Solution


    LotusScript/COM/OLE - none of these libraries have the hooks that jacbarker is looking for.  These libraries are used for designing applications only.

    C and C++ - these libraries can be used to create applications, but also have the capability to write Notes client addins that modify the behavior of the Notes client.  Specifically, jacbarker needs to write a "Database Hook Driver".  From the C API documentation: "Database hook drivers are programs that gain control each time a document is opened, updated, or categorized".
    LVL 22

    Expert Comment

    No, you're right, you cannot create hooks, but why not tell him what are the libraries he talks about, and where he can find out more about what it can be done using them.

    Maybe there's a another solution to his problem...

    Author Closing Comment

    Thanks Bill, I got the documentation but now cannot open it. I've got another question here:
    If you would like to take a look.
    Thanks for your help.

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Why You Should Analyze Threat Actor TTPs

    After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

      In today’s Arena we can’t imagine our lives without Internet as we are highly used to of it. If we consider our life style just for only 2 min we found that face to face communication is swapped by e-communication.  Every Where from Works place to…
    For beginners of Lotus Notes user this is important to know about the types of files and their location supported by IBM Notes. Mostly users are unaware about how many file types are created and what their usages are. This Article is fully dedicated…
    To add imagery to an HTML email signature, you have two options available to you. You can either add a logo/image by embedding it directly into the signature or hosting it externally and linking to it. The vast majority of email clients display l…
    In this tutorial you'll learn about bandwidth monitoring with flows and packet sniffing with our network monitoring solution PRTG Network Monitor ( If you're interested in additional methods for monitoring bandwidt…

    758 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    8 Experts available now in Live!

    Get 1:1 Help Now