I have written a Windows Service that watches a Lotus Notes InBox for emails,
detaches attachments from the emails and attaches them to a different Lotus
Notes Database.
The service works properly until I log off of the server. At that point,
this call begins returning nothing - not an error - just nothing...
LnView_Mail = LnDb_Mail.GetView("($InBox)")
Once this problem begins, logging back into the server does not resolve it.
I think there should be some solution to this. I am able to start a Lotus
Notes session and open the Mail NSF I need. My problem is only that my view
request returns nothing, only once I log off the server.
In trying to debug, I tried using a folder rather than ($InBox), but I got
the same results. It worked smoothly until I logged off the server and then
it did not work correctly, even after logging back into the server. I tried
setting the service to run under the credentials of Local System Account
(Allow System to Interact with Desktop Checked), and as a domain account.
Neither of these changes resolved my issue.
Can anyone help me with a solution or a work-around?