Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Automation using groupwise
Message
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Automation using groupwise
Divers
Thread ID:
00941131
Message ID:
00941131
Vues:
64
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
Fil
Voir

Click here to load this message in the networking platform