DECLARE INTEGER NetMessageBufferSend IN netapi32; STRING servername, STRING msgname, STRING fromname,; STRING @buf, INTEGER buflen LOCAL cSrvName, cMsgName, cFromName, cMsg cSrvName = Null && or a server name like '\\MYSERVER' cMsgName = 'RECIPIENT' cFromName = 'ME-MYSELF' cMsg = 'Test message' ? NetMessageBufferSend(cSrvName, cMsgName, cFromName, @cMsg, Len(cMsg))NETAPI set of functions sometimes requires input parameters to be converted to Unicode. I'm not sure about this particular function, but check it as a possible option for parameters servername, msgname and fromname.