Perhaps we are missing something, the example code works in here. Please see below the steps:
– Create an applet and place the above sample code. Screenshot: http://www.screencast.com/t/lh9cWX3t
– Set the applet integration to Email toolbar. Screenshot: http://www.screencast.com/t/FDsPnL_K1YW
– Create a new message in GroupWise client, enter some recipients (To, CC, etc)
– Run the applet from the message toolbar. Screenshot: http://www.screencast.com/t/gyFWPW2Ww
Can you reproduce the same behaviour using the steps above?