Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

Welcome to the new platform of Programmer's Heaven! We apologize for the inconvenience caused, if you visited us from a broken link of the previous version. The main reason to move to a new platform is to provide more effective and collaborative experience to you all. Please feel free to experience the new platform and use its exciting features. Contact us for any issue that you need to get clarified. We are more than happy to help you.

lotus domino via java

sir we do have a lotus domino server and it seems as for the security purpose its smtp listemer is not enabled.I want to connect to it in some of my application so that i can mail some forgot password info of a user to his account.I have included notes.jar into my
JAVA_HOME/jre/lib/ext directory
but i don't know how to use its classes ...
also javamail and this
import lotus.domino.*;
are conflicting as have the definition of Session object......

is there any way to write api so that i can mail a person thru java code who has some entry in notes.ini of current lotus notes client and NAB(notes address book) on server

REGARDS .....HARISH SABHNANI

Comments

  • arb123arb123 Posts: 696Member
    Its been a while, but...

    FYI: I believe you need to add the notes directory to your PATH. You need NOTES.JAR and NCSO.JAR on your CLASSPATH.

    Use fully qualified names to get round your namespace problem. Instead of writing:
    [code]
    [red]import lotus.domino.*;[/red]
    public class MyClass{
    Session mySession;
    }
    [/code]
    ...write...
    [code]
    public class MyClass{
    [green]lotus.domino.Session[/green] mySession;
    }
    [/code]

    There are comprehensive API listings and examples in the Notes help.
Sign In or Register to comment.