Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Outlook automation: send cc: and display dialog
Message
De
07/12/1999 13:45:57
 
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Divers
Thread ID:
00299892
Message ID:
00299896
Vues:
28
oEmailItem.Display instead of Send will show the Outlook mail item dialog form.
As to the "CC", hmmmm.... .CC is a valid property of a MailItem. I'm stumped there.


>Hi,
>
>I am doing my 1st automation with outlook. I am using an example for "foxforum" (i Think) and it works real well. However, I can't find the property for doing a cc: recipient. I would also like to bring up the outlook dialog instead of just the send.
>
>Any help would be appreciated.
>
>Kevin
>
>*******************************************
>oOutLookObject = CreateObject("Outlook.Application")
>oEmailItem = oOutLookObject.CreateItem(MAILITEM)
>WITH oEmailItem
> .To = m.sendto && ; separated list.
> *.ccTo =m.ccTo && also tried .cc
> .Subject = m.jcsubject
> .Importance = IMPORTANCEMORMAL
> .Body = m.jcmessage
> IF NOT EMPTY(lcattach1)
> .Attachments.Add(lcattach1)
> ENDIF
> .Send && would like to bring dialog up instead of blind send
>ENDWITH
>
>Release oEmailItem
>Release oOutLookObject
------------------------------------------------
John Koziol, ex-MVP, ex-MS, ex-FoxTeam. Just call me "X"
"When the going gets weird, the weird turn pro" - Hunter Thompson (Gonzo) RIP 2/19/05
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform