developerWorks  >  Lotus  >  Forums & community  >  Notes/Domino 6 and 7 Forum

Notes/Domino 6 and 7 Forum


Error when sending mail to a group in address book
Praveen Dangalla 09/06/2012 02:07 PM
General All Releases All Platforms

I wrote a application using VBA to read a document from the Drafts folder, read the BCC field in that document and send a mail to that list. The BCC field contains a group which has around 21000 users. I get a error "adding entry will cause text list to exceed 64K. Entry not added" when sending to that group.

I updated ReplaceItemValue "ExpandPersonalGroups", "0" to make sure that the group is not expanded form the server but it doesn't work either.

Any idea on how to get around this error?

If not is there a way to read the groups email addresses and loop through it and send the mail one by one? Any examples to read a group from the server address book and loop through the mail addresses?

Any help is highly appreciated, i've been stuck on this over a week now.

Thanks in advance for any help

Go back