I have a database in which users can subscribe to certain topics and when documents for those topics are created they get notified.
I have a particular user (problem is isolated to only him) that creates a document against a particular topic but when he saves the document (the code that sends out notifications runs on save), not all users get the email.
I debugged his computer and I saw that all users were added to the “SendTo” field of the memo sent, so I don’t understand why there are missing names in the resulting note that users receive.
Any help is greatly appreciated!
Subject: groups & code
a) Make sure that if you are using groups, he doesn’t have any groups by the same name on his local machine. Notes will use the local address book first. This is probably the most common reason why email sent to a group don’t go to the people expected.
b) provide a code sample - maybe someone here will see what’s going wrong
Subject: Email not sent to all users
Actually, the users that are added to the “SendTo” field are added individually, I’m not using groups.
Subject: local address book
The point about the local address book would still stand. If you have a local address book entry with an incorrect or different address but the same name, it will pick that one first. But I beleive it would look to the server if there were no email address in the local entry.
And, a code sampel would also help. There might be something in the parsing of the list of addresses.
Subject: Recent contacts, maybe
Another possibility to look at, along the lines of what Maria is suggesting, is “Recent Contacts.”
Particularly if it’s only one person, you might find that they’ve got some info in their recent contacts that’s wrong - people who’s addresses had been forwarded at one time that aren’t anymore, for example. Recent Contacts tends to hang onto the wrong information.
At one customer of mine, we found people returning from maternity leave had an almost impossible time getting mail, because everyone’s Recent Contacts was remembering their mail was supposed to be forwarded to someone else, despite the fact we’d changed it on the server.
I believe this is a fix in 8.5.2, but it’s a real issue with older versions.