I want to add Email Addresses to Google Groups programmatically. While there are methods of doing so, none seem to allow the addition of the Display Names, Nicknames or just the First and Last names.
For example, the code (from Add members to google groups programatically):
GroupsManager.getGroup(group).addMember(emailAddress);
works beautifully if the emailAddress is something like fred@example.com, however if I try to add the DisplayName, it doesn't. I have tried:
"Fred Surname" <fred@example.com>
and Fred Surname
however, I just receive an unspecified error.
Any help would be greatly appreciated - in any language, as long as there is an example!
Many thanks,
Clem Clarke