1

I developed an application that has a form where this form once completed is sent by e-mail as the list of selected group or user in the container. The problem is that when I choose to send e-mail to a group and click on the submit button, check the box to the e-mail client for lotus note that does not appear the group name but the name of all users in that group I selected. Anyone know why this happens? That is, when I choose a group and sending e-mail, Lotus internally changes the name of the group by the name of all users of this group.

2 Answers2

3

You may try adding field $ExpandGroups with a value of 0 to the document. See this for detailed information on this field.

Zsolt Botykai
  • 50,406
  • 14
  • 85
  • 110
Egor Margineanu
  • 740
  • 5
  • 9
1

Is the group a personal group? In other words, is it in the user's local address book? If so, it has to expand it to the members because the router won't be able to find the group name in the Domino Directory.

Tim Tripcony
  • 8,056
  • 1
  • 23
  • 34
  • No, the application is getting the list of groups directly from the server. Turns out the router for some reason changes the SendTo field entered the users in the group and not the group name after the command "doc.send (group)" is executed. – Alexandre Oliveira Feb 23 '12 at 00:21
  • yes, I've tried this possibility. To send e-mail I was using an agent written in Java, when I realized this problem, rewritten agent in lotus script, but without success. Then I tried to test manually enter the group name in the command parameter "doc.send (" hard code group ") and had no success. My next attempt will not use the agent and send the e-mail by writing directly in javascript on the server side. what do you think might be happening? Recalling the list of groups come by the server, then the group actually exists on the server, but for some reason the router is replacing. – Alexandre Oliveira Feb 23 '12 at 09:41