I have a piece of code in a class registration database that creates a calendar entry in the user’s mail file when they successfully register for a class. This has been working for several years.
I just received an email from a user who hasn’t used the system since we moved our mail system to a different server (so far she’s the only one who’s had this problem). She is receiving an error message on the Set calendarDoc line below. The error message is, “Database CN=mcdevn1/O=hmco!!mail\userName.nsf has not been opened yet.” The server referenced in the error message is our old mail server. I checked her prefs (she’s on a Mac), and sure enough the MailServer param hadn’t been changed.
So I set it to the correct server, then had her restart her machine. She is still getting the error.
Can anyone give me an idea of why NotesDatabase.OpenMail is still looking for the old mail server, even though the notes preferences file has the correct mail server listed?