Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Help with sending Outlook email in VFP
Message
De
29/06/2003 18:27:04
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00804758
Message ID:
00805137
Vues:
37
I'm sorry but in my first example I sent, I commented out the oRecipient = omail..... line of code by mistake. Therefore oRecipient.type = 3 errored as oRecipient wasn't defined.

This should do it.
oOUTLOOK= Createobject('outlook.application')
omail=oOUTLOOK.createitem(0)
omail.recipients.add("xxxxxxxx@comcast.net")
oRecipients = omail.recipients.add("yyyyyyy@comcast.net")
oRecipients.type = 3
omail.Display
Release  omail
oOUTLOOK = .Null.
Release oOUTLOOK
>If I really want to send CC's or BCC's programatically how do I fix that error?
>
>Thanks again for all your help!
>
>Regards,
>Torrey
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform