>=GW('ashishpatel@indbazaar.com','Hi From Ashish','This is a Test Message ','C:\x\x.DBF')
>
>retu
>
>PROCEDURE GW
>LPARAMETERS cSendTo,cSubject,cMessage,cAttachment
>oGW=CREATEOBJECT('NovellGroupwareSession')
>x=oGW.LOGIN
>oMsg=oGW.Login.RootFolder.Messages.Add
>oMsg.Subject=cSubject
>oMsg.BodyText=cMessage
>oMsg.Attachments.Add(cAttachment)
>oMsg.Recipients.Add(cSendTo,'NGW','0')
>oMsg.Send
>RELEASE oGW
>
>------------------------------------------------
>
>I am having the following doubts.
>2. If I run the above program then If I open Groupwise from the desktop it is
>not asking for User Name and Password and directly opening the mails.
I think that's because you do a Login, but not a LogOut.
However, I am not familiar enough with Groupware to be sure about this.