Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to attach text file in outlook thru VFP
Message
De
24/11/2003 08:06:08
Barry Newton
Plan International
London, Royaume Uni
 
 
À
06/11/2003 22:10:44
Devrishi Bhogra
Escorts Claas Limited
Faridabad, Inde
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Divers
Thread ID:
00847476
Message ID:
00852902
Vues:
13
hi devrishi

this very basic example works for me, if not for you then post more details on the actual error.

oOutlook = CreateObject("outlook.application")
oMailItem = oOutlook.CreateItem(0)
oMailItem.Recipients.Add("mickey@mouse.com")
oMailItem.Attachments.Add("c:\temp\temp.txt")
oMailItem.Save()
oMailItem.Send()
Release All
Return

regards.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform