I'm currently working on a change management database, and some of the requested functionality is that certain events (moving an RFC from one stage to another, requesting a group's approval, etc) send out a message to one or more people. The recipients vary according to the trigger and the setup of the RFC, but all recipients are derived from Names fields in different documents, and all Names fields are either populated by the @UserName formula or from the public names & address book. For example, when you raise an approval request, the name of the selected approval group is looked up in a view of approval group documents, and the names of all of the members are returned. The looking up is performed in a Lotus Script function.
The first time that I tried to trigger it, I received the error message, "Unable to send mail, no match found in Names & Address boo(s)". I checked the forum and found the following advice:
Accordingly, I amended the LS function to converted the stored canonical names into the abbreviated format, and to append the company domain to them. This resulted in a mail that was sent and then generated a Delivery Failure Report. It was not delivered to any of the recipients because no route to the domain was found for the last user in the group. It also advised me to check the Server, Connection and Domain documents, things to which I do not think I have access due to an extreme division of responsibilities between the developers and administrators here.
Has anyone encountered this or something similar before? In theory this database is required to go into use next week, but I've told the powers that be that there is a problem! I'm happy to post code examples if required.
TIA, and Happy New Year!