General information
Category:
Coding, syntax & commands
Title:
Automation using groupwise
Hi all,
I am having some problem with the following code. If someone see what I am doing wrong please advise. What I am trying to do here is to send a message to two people of one is CC. However both are coming up in To block.
goGroupwise = CREATEOBJECT("NovellGroupwareSession")
goLoginGW = goGroupwise.Login
loMailBody = goLoginGW.MailBox.Messages.Add()
lomailbody.Subject = 'This is the subject ' + TIME()
loMailBody.BodyText = 'Hello world! This is the body'
*--this is appearing in To block as it should be.
loRecipient = m.lomailbody.Recipients.Add('ExternalEAD@yahoo.COM',0)
*--this line should be appearing in CC but isn't
loRecipient = m.lomailbody.Recipients.Add('InternalEAD@ABC.com','NGW',1) &&&CC = 1 BC = 2
lorecipient.Resolve
lomailbody.Send
RELEASE gogroupwise ,gologingw,lomailbody,lorecipient
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only