Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Outlook & email
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Produits tierce partie
Titre:
Divers
Thread ID:
00823171
Message ID:
00823388
Vues:
21
>>What could be my problem?
>>Do I need to initialize something, or release a variable pointing to Outlook object? What could I be missing?
>
>Have you set every object variable to NULL after the first email? That works for me...


I am now using the following code to test with Outlook 97.
THISFORM.oMail = CreateObject("Outlook.Application")		
oEmailItem = THISFORM.oMail.CreateItem(0)

oEmailItem.To = "ericg@dgcsolutions.qc.ca"
oEmailItem.Subject = "Subject"
oEmailItem.Importance = 1
oEmailItem.Body = "body text"
oEmailItem.Send

oEmailItem = null
THISFORM.oMail = null
Eric.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform