Hi Barry,
I've checked GroupWise Object model, but haven't found a method to open GroupWise message for editing yet. Send method doesn't accept parameters and does its work behind the scene.
Anyway, here are lots of Downloadable samples:
http://developer.novell.com/ndk/doc/samplecode/gwobjapi_sample/index.htm>Hi Robert,
>
>Nadya pointed me to your message and code. Do you have a specific Novell website reference where I can find documentation on the NovellGroupWareSession class? I tried to find something but could not track it down.
>
>Specifically I am trying to find something to allow me to "SHOW" the email before it is sent.
>
>Thanks for any pointers
>
>Barry
>
>
>>Hello Nadya and Sandy,
>>
>>Thanks for the code snippet, worked OK but I streamlined it abit. I am using
>>
>>=GW('RPierce@Smooth-On.com','SUBJECT HERE','TEXT MESSAGE HERE ','C:\PICT.JPG')
>>
>>PROCEDURE GW
>> LPARAMETERS cSendTo,cSubject,cMessage,cAttachment
>> oGW=CREATEOBJECT('NovellGroupwareSession')
>> oMsg=oGW.Login.RootFolder.Messages.Add
>> oMsg.Subject=cSubject
>> oMsg.BodyText=cMessage
>> oMsg.Attachment.Add(cAttachment)
>> oMsg.Recipients.Add(cSendTo,'NGW','0')
>> oMsg.Send
>> RELEASE oGW
>>
>>If you look on Novell's site using 'NovellGroupwareSession' as a search you get some relevant stuff with examples with tons of code, boils down to the above and works well for me.
>>
>>Thanks Sandy
If it's not broken, fix it until it is.
My Blog