Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Changing the ID File and Mail File Locations Through Lotus Script ?

Status
Not open for further replies.

Sc0tt

IS-IT--Management
Dec 10, 2001
3
GB
I have a 123 application where I want to send a email
I am using

CurrentApplication.UserLogin "Account Name", "Password",
CurrentApplication.SendMail "Scott",, "Email", msg,,,,False

Now this does not work on its own, as it does not login to the Account Name and Password, it logs into the account which is active in Lotus Notes at the time

What I need is a way in lotus script to specify where the ID file and the location document is stored for the account name, so it uses these instead of using my account.

Can this be done ?

Thanks

Scott

btw using Lotus Notes Version 4.6.2a

 
You can use the NotesRegistation class to switch id's.

Call notesRegistration.SwitchToID( idfile , password )

Beware of the known bug where errors occur in the UI if you do not specify password and users cancel the logon dialog.

Dale
You can find me at
 
Dale

thanks for the responce

will this take care of the location document as well ?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top