Java Server Pages

Moderators: None (Apply to moderate this forum)
Number of threads: 306
Number of posts: 629

This Forum Only
Post New Thread
Single Post View       Linear View       Threaded View      f

Report
lotus domino via java Posted by sabhnani on 16 Jul 2003 at 8:59 PM
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

Report
Re: lotus domino via java Posted by arb123 on 28 Jul 2003 at 2:58 AM
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:
import lotus.domino.*;
public class MyClass{
    Session mySession;
}

...write...
public class MyClass{
    lotus.domino.Session mySession;
}


There are comprehensive API listings and examples in the Notes help.



 

Recent Jobs

Official Programmer's Heaven Blogs
Web Hosting | Browser and Social Games | Gadgets

Popular resources on Programmersheaven.com
Assembly | Basic | C | C# | C++ | Delphi | Flash | Java | JavaScript | Pascal | Perl | PHP | Python | Ruby | Visual Basic
© Copyright 2011 Programmersheaven.com - All rights reserved.
Reproduction in whole or in part, in any form or medium without express written permission is prohibited.
Violators of this policy may be subject to legal action. Please read our Terms Of Use and Privacy Statement for more information.
Operated by CommunityHeaven, a BootstrapLabs company.