import lotus.domino.*;
class setenvvar extends NotesThread
{
public static void main(String argv[])
{
setenvvar t = new setenvvar();
t.start();
}
public void runNotes()
{
try
{
Session s = NotesFactory.createSession();
s.setEnvironmentVar("HomeTown", "Tokyo",
false);
}
catch (Exception e)
{
e.printStackTrace();
}
}
}
import lotus.domino.*;
class setenvvar2 extends NotesThread
{
public static void main(String argv[])
{
setenvvar2 t = new setenvvar2();
t.start();
}
public void runNotes()
{
try
{
Session s = NotesFactory.createSession();
s.setEnvironmentVar("MailServer", "Tornado",
true);
}
catch (Exception e)
{
e.printStackTrace();
}
}
}