Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How do I create appointments in groupwise

Coding and Syntax

How do I create appointments in groupwise

by  nickpatel  Posted    (Edited  )
Here is the code for sending appointments if anyone is interested. A great credit is due slighthaze and vargasfe
who is on vb forum on devx.

ng = CREATEOBJECT("NovellGroupwareSession")
gobj = ng.Login
mailmsg = gobj.MailBox.Messages.Add('GW.MESSAGE.APPOINTMENT')
mailmsg.FromText="someone"
mailmsg.Subject="This is an appointment test from nick"
mailmsg.BodyText="Did this work crieg"
mailmsg.NotifyWhenDeleted=0
mailmsg.StartDate=DATETIME(2004, 02, 19, 08, 30, 0)
mailmsg.OnCalendar="TRUE"
mailmsg.Place="HERE"
recpt=mailmsg.Recipients.Add('someproxy:somename@someplace.com','NGW','0')
recpt.Resolve
mailmsg.Send

HERE IS THE TREAD I USED FOR DISCUSSION: thread184-775726
Register to rate this FAQ  : BAD 1 2 3 4 5 6 7 8 9 10 GOOD
Please Note: 1 is Bad, 10 is Good :-)

Part and Inventory Search

Back
Top