LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

lotus notes mail

Hey there,

 

I'm new to this board so I'd like to say Hello 🙂

 

I got a problem sending an email with Lotus Notes using Domino Objects 1.2 ActiveX Component. If there's an existing ID file, it's absolutely no problem to send an email. Due to the fact, that this mail component is some kind of bug reporter, there's no ID file on every pc the labview software is working (since those files don't work on every pc for some reasons).

 

Our Notes network has a specific client id for sending bug reports. Nevertheless on each PC is notes installed for regular use. So the way we're using is replacing the ID files (more or less successfully) sending the email, and replacing it back again. As you can imagine, this solution causes malfunctions and problems.

 

If I look at the source code examples in the documentation, there is an instance created using the standard constructor of the session class. After that, the ID is changed by using CreateRegistration and SwitchToID.

 

In Labview, this way doesn't work because I'd need to run the standard constructor of the session object (Session.Initialize() without parameters). Return value is an error saying "there's no ID file". But this is exactly what I try to do: Setting the ID file by using SwitchToID whicht is not possible without an existing connection which is not possible without an existing ID file... grml....

 

I'm completely stumped! It somehow like the egg and chicken problem.

 

If anyone has an Idea, I'd be deeply grateful.

 

Have a nice day,

 

N. Thomsen

0 Kudos
Message 1 of 2
(2,386 Views)

Ok... I found sth that's pretty weird:

 

The Domino COM objects must be able to locate a valid notes.ini file, looking first in the Domino or Notes program directory and then at the PATH system variable. The KeyFileName setting in the notes.ini file specifies the user ID that COM uses.

 

WTF... Forgot the Lotus devs to think even once about what they're programming? -.-

0 Kudos
Message 2 of 2
(2,378 Views)