Opening an e-mail window with GroupWise™
2006-09Sep-27
In most cases, you can open an e-mail editing window using
DECLARE INTEGER ShellExecute IN SHELL32.DLL ;
INTEGER nWinHandle,;
STRING cOperation,;
STRING cFileName,;
STRING cParameters,;
STRING cDirectory,;
INTEGER nShowWindow
ShellExecute(0,"open","mailto://"+m.tcMail,"",NULL,1)
LOCAL loGroupwise, lcResult
lcResult = ""
loGroupwise = CREATEOBJECT("GroupWiseCommander")
loGroupwise.Execute("NewMail()",@lcResult)
loGroupwise.Execute( ;
[TextSetTo("]+m.lcText+[")], ;
@lcResult ;
)
A list of commands (called GroupWise Tokens) can be found on the Novell website.