Hello All!I am designing C++ application which must get
current user internet (SMTP) e-mail. This address is specified in confuguration
parameters. I use C API for Lotus.
I suppose it is plased in names.nsf
but I can’t find any suatable method to find it.
Please, point me proper way.
Best Regards
Sergiy Shabalov
Subject: How to get user’s internet address using C API?
Use OSGetEnvironmentString to get the “Location” setting. This is a comma-separated list. The second element is the note ID of the Location document, in hex. NSFDbOpen the local names.nsf, NSFNoteOpen the document, and NSFItemGetText the ImailAddress item. This is the address that the user is currently using for SMTP mail. The user might have other addresses in other places, or no address anywhere.
Subject: RE: How to get user’s internet address using C API?
Hi Rob!
Thanks a lot for your response.
I would like to know your opinion about the
following task: Is it possible to display
the standart Lotus dialog for choosing
recipints e-mails using C API or some another
API from Win32 application?
Best Regards
Sergiy Shabalov
Subject: RE: How to get user’s internet address using C API?
Who is Rob? I hope he will not mind if I answer. The C API has (almost) no connection with the user interface. You can use OLE to work with Notes’ user interface from another application. I am not sure how you can get the address dialog, but you might find a way to do it.