Information générale
Catégorie:
Codage, syntaxe et commandes
Titre:
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
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement